ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy Truelove" <rtruel...@ipicorp.com>
Subject RE: New User - Problem
Date Fri, 22 Nov 2002 20:11:37 GMT
I believe that environment variables are case sensitive.. try JAVA_HOME.

-Roy

> -----Original Message-----
> From: FYale@dacsystems.com [mailto:FYale@dacsystems.com]
> Sent: Friday, November 22, 2002 3:03 PM
> To: ant-user@jakarta.apache.org
> Subject: New User - Problem
>
>
> Hello,
>
> I am attempting to use Ant to build J2EE tutorial examples as outlined on
> the Sun web site.  My background in Java is very limited, the
> probable cause
> of my difficulties.
>
> Anyway, here is what I am getting:
>
> 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.
>
> I would very much appreciate any help.
>
> Thanks,
>
> Fred Yale
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message