Hello Christian,

My PATH statement does begin with %JAVA_HOME%\bin, as you suggest.  I can
type stuff like, "java -version" from any prompt and the returned result is
what you would expect.

What puzzles me is that the <javac> tag from the build.xml file yields the
"Modern compiler is not available - using classic compiler" message, and
then, apparently, it can't find javac.

Thanks for the reply,

Fred Yale



        > have you included the current JDK in your %PATH%? I believe your
%PATH% 
        > contains an old JDK, perhaps from an IDE like VA or JBuilder.

        > Be sure to include %JAVA_HOME%\bin in your path, before IDEs.


> -----Original Message-----
> From: Christian Wolfgang Hujer [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 22, 2002 3:53 PM
> To:   Ant Users List; Roy Truelove
> Subject:      Re: New User - Problem
> 
> Hi,
> 
> > > C:\j2eetutorial\examples>ant all
> > > The filename, directory name, or volume label syntax is incorrect.
> > > Buildfile: build.xml
> > >
> > > init:
> > >
> > > savingsaccount:
> > >     [javac] Modern compiler is not available - using classic compiler
> > >     [javac] Compiling 5 source files to
> > > C:\j2eetutorial\examples\build\ejb\savingsaccount
> > >
> > > BUILD FAILED
> > >
> > > C:\j2eetutorial\examples\build.xml:54: Cannot use classic
> > > compiler, as it is
> > > not
> > >  available A common solution is to set the environment variable
> > > JAVA_HOME to
> > > your jdk directory.
> > >
> > > Total time: 0 seconds
> > > C:\j2eetutorial\examples>set java_home
> > > JAVA_HOME=C:\jdk1.3.1_02
> > >
> > > As you can see, JAVA_HOME is set to point to the installation
> directory.
> > > Typing javac from the same location yields the help text, as you would
> > > expect.
> 
> have you included the current JDK in your %PATH%? I believe your %PATH% 
> contains an old JDK, perhaps from an IDE like VA or JBuilder.
> 
> Be sure to include %JAVA_HOME%\bin in your path, before IDEs.
> 
> 
> Bye
> -- 
> ITCQIS GmbH
> Christian Wolfgang Hujer
> Geschäftsführender Gesellschafter
> Telefon: +49  (0)89  27 37 04 37
> Telefax: +49  (0)89  27 37 04 39
> E-Mail: [EMAIL PROTECTED]
> WWW: http://www.itcqis.com/
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to