You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by faisal <fa...@ntlworld.com> on 2001/01/27 01:56:02 UTC

Classic compiler

HELP !!!
Does anybody know what the story of classic compiler when compiling build.xml .Eveytime I try to compile build.xml I receive this message:
I tried evey clue but nothing happend .set the JAVA_HOME
classpath but it still saying..pre:
    [javac] Compiling 10 source files
    [javac] Modern compiler is not available - using classic compiler

BUILD FAILED

C:\orion\applications\mine\build.xml:9: Cannot use classic compiler, as it i
t available A common solution is to set the environment variable JAVA_HOME t
ur jdk directory.

Any suggestion please
Faisal

Re: Classic compiler

Posted by Petr Suchomel <ps...@volny.cz>.
I remember, I had same problem which looked very strange .. and I had set JAVA_HOME to point to JRE not to the SDK.
it means JAVE_HOME must be f.e. ../jdk1.3
not jdk1.3/jre
Petr

----- Original Message ----- 
  From: faisal 
  To: general@jakarta.apache.org 
  Sent: Saturday, January 27, 2001 1:56 AM
  Subject: Classic compiler


  HELP !!!
  Does anybody know what the story of classic compiler when compiling build.xml .Eveytime I try to compile build.xml I receive this message:
  I tried evey clue but nothing happend .set the JAVA_HOME
  classpath but it still saying..pre:
      [javac] Compiling 10 source files
      [javac] Modern compiler is not available - using classic compiler

  BUILD FAILED

  C:\orion\applications\mine\build.xml:9: Cannot use classic compiler, as it i
  t available A common solution is to set the environment variable JAVA_HOME t
  ur jdk directory.

  Any suggestion please
  Faisal

Re: Classic compiler

Posted by Clay Atkins <ca...@spcmg.com>.
<HTML><HTML><HTML><HTML><HTML><HTML><HTML><HTML>
<HTML><HTML><HTML><HTML><HTML><HTML><HTML><HTML>
<HTML><HTML><HTML><HTML><HTML><HTML><HTML><HTML>
----- Original Message -----
From: "Peter Donald" <do...@apache.org>
To: <ge...@jakarta.apache.org>
Cc: <ge...@jakarta.apache.org>
Sent: Monday, January 29, 2001 1:03 AM
Subject: Re: Classic compiler


> At 10:58  28/1/01 -0800, Pier Fumagalli wrote:
> >Geir Magnusson Jr. <ge...@optonline.net> wrote:
> >
> >> Cedric Berger wrote:
> >>>
> >>> Firstly, be careful sending HTML to the wrong list, Jon could kill
you.
> >>
> >> What does the 'wrong list' have to do with it?  He would kill you if
you
> >> sent HTML to the *right* list... :)
> >
> >Oh, and if Jon doesn't do it, I would be more than happy to take his
place
> >:)
>
> me too ;)
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof."                   |
> |              - John Kenneth Galbraith               |
> *-----------------------------------------------------*
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>
>


Re: [OT] treasure hunting (was: Re: Classic compiler)

Posted by Cedric Berger <ce...@wireless-networks.com>.
Jon Stevens wrote:
> 
> Ya know? I just don't get it. I made the subscription process intentionally
> harder for people to get through without first reading the page that asks
> people to not send html email and to post to the right list and people
> *still* don't do it right.
> 
> -jon
> 

Lemme ask you a question: Do you usually read the License agreement when
you download a new version of the JDK on Sun's site?

No. Why? it's too long.

If you want people read your stuff on http://jakarta.apache.org/site/mail.html,
remove the fat.

Something like that, in red:

1) don't send HTML messages
2) don't ask questions on:
  - general@jakarta.apache.org
  - tomcat-dev@jakarta.apache.org

And as it looks like many people hate HTML messages, a better approach would
be to install a filter that bounce the message back with a *nice* explanation.

OH, BTW, I REALLY *HATE* THE EXTRA SCROLLING+CLICK I HAVE TO DO NOW
TO *BROWSE* ON OF THE MAILING LIST.

Cedric

Re: [OT] treasure hunting (was: Re: Classic compiler)

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
"Geir Magnusson Jr." wrote:
> 
> Jon Stevens wrote:
> >
> > on 1/28/01 11:03 PM, "Peter Donald" <do...@apache.org> wrote:
> >
> > >> Oh, and if Jon doesn't do it, I would be more than happy to take his place
> > >> :)
> > >
> > > me too ;)
> >
> > Ya know? I just don't get it. I made the subscription process intentionally
> > harder for people to get through without first reading the page that asks
> > people to not send html email and to post to the right list and people
> > *still* don't do it right.
> >
> > I think that I'm going to hide the URL for the subscription page in the
> > source of the HTML and then describe to people how they can find it. Almost
> > like a treasure hunt. *Maybe* that will get people to actually read the
> > page.
> >
> 
> I kinda wonder if people knew I was joking.  I am not sending this out
> to the public list because there have been 3 responses already...

<ug> Sorry :)


-- 
Geir Magnusson Jr.                               geirm@optonline.com
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity

Re: [OT] treasure hunting (was: Re: Classic compiler)

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
Jon Stevens wrote:
> 
> on 1/28/01 11:03 PM, "Peter Donald" <do...@apache.org> wrote:
> 
> >> Oh, and if Jon doesn't do it, I would be more than happy to take his place
> >> :)
> >
> > me too ;)
> 
> Ya know? I just don't get it. I made the subscription process intentionally
> harder for people to get through without first reading the page that asks
> people to not send html email and to post to the right list and people
> *still* don't do it right.
> 
> I think that I'm going to hide the URL for the subscription page in the
> source of the HTML and then describe to people how they can find it. Almost
> like a treasure hunt. *Maybe* that will get people to actually read the
> page.
>

I kinda wonder if people knew I was joking.  I am not sending this out
to the public list because there have been 3 responses already...



-- 
Geir Magnusson Jr.                               geirm@optonline.com
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity

[OT] treasure hunting (was: Re: Classic compiler)

Posted by Jon Stevens <jo...@latchkey.com>.
on 1/28/01 11:03 PM, "Peter Donald" <do...@apache.org> wrote:

>> Oh, and if Jon doesn't do it, I would be more than happy to take his place
>> :)
> 
> me too ;)

Ya know? I just don't get it. I made the subscription process intentionally
harder for people to get through without first reading the page that asks
people to not send html email and to post to the right list and people
*still* don't do it right.

I think that I'm going to hide the URL for the subscription page in the
source of the HTML and then describe to people how they can find it. Almost
like a treasure hunt. *Maybe* that will get people to actually read the
page.

-jon


Re: Classic compiler

Posted by Peter Donald <do...@apache.org>.
At 10:58  28/1/01 -0800, Pier Fumagalli wrote:
>Geir Magnusson Jr. <ge...@optonline.net> wrote:
>
>> Cedric Berger wrote:
>>> 
>>> Firstly, be careful sending HTML to the wrong list, Jon could kill you.
>> 
>> What does the 'wrong list' have to do with it?  He would kill you if you
>> sent HTML to the *right* list... :)
>
>Oh, and if Jon doesn't do it, I would be more than happy to take his place
>:)

me too ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Re: Classic compiler

Posted by Pier Fumagalli <pi...@betaversion.org>.
Geir Magnusson Jr. <ge...@optonline.net> wrote:

> Cedric Berger wrote:
>> 
>> Firstly, be careful sending HTML to the wrong list, Jon could kill you.
> 
> What does the 'wrong list' have to do with it?  He would kill you if you
> sent HTML to the *right* list... :)

Oh, and if Jon doesn't do it, I would be more than happy to take his place
:)

    Pier

-- 
Pier Fumagalli                                 <ma...@betaversion.org>
I'm selling my Sony Vaio Z505. Check out <http://www.betaversion.org/~pier/>


Re: Classic compiler

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
Cedric Berger wrote:
> 
> Firstly, be careful sending HTML to the wrong list, Jon could kill you.

What does the 'wrong list' have to do with it?  He would kill you if you
sent HTML to the *right* list... :)

geir

-- 
Geir Magnusson Jr.                               geirm@optonline.com
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity

Re: Classic compiler

Posted by Cedric Berger <ce...@wireless-networks.com>.
Firstly, be careful sending HTML to the wrong list, Jon could kill you.
Secondly, install JDK1.3 if you want the modern compiler.
Cedric

> faisal wrote:
> 
> HELP !!!
> Does anybody know what the story of classic compiler when compiling build.xml
> .Eveytime I try to compile build.xml I receive this message:
> I tried evey clue but nothing happend .set the JAVA_HOME
> classpath but it still saying..pre:
>     [javac] Compiling 10 source files
>     [javac] Modern compiler is not available - using classic compiler
> 
> BUILD FAILED
> 
> C:\orion\applications\mine\build.xml:9: Cannot use classic compiler, as it i
> t available A common solution is to set the environment variable JAVA_HOME t
> ur jdk directory.
> 
> Any suggestion please
> Faisal

Re: Classic compiler

Posted by Peter Donald <do...@apache.org>.
At 12:56  27/1/01 -0000, faisal wrote:
>   HELP !!! Does anybody know what the story of classic  compiler when
>compiling build.xml .Eveytime I try to compile build.xml I receive  this
>message: I tried evey clue but nothing happend .set the  JAVA_HOME
>classpath but it still  saying..pre:

Whicj ant version do you have ? It looks like a really really old version
of ant. Second what version of JDK do you have (modern is only supported on
1.3+) ?

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*