Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ant-compile-time error

Status
Not open for further replies.

Ollihak

Programmer
Dec 7, 2004
1
DE
Hi,

I've got a problem with the ant command. I am using ant 1.5.2 with Java. I've got a build.xml-file, changed some Java-Code and now want to use the ant command, in that directory, where the build-file is.
Here is the error message:


C:\Oliver\jengine2\source\build>ant
Buildfile: build.xml

setpaths:
[echo] from build.properties : jboss_home : /C:/Oliver/jengine2/run/server/
default/lib

init:

compile:
[javac] Modern compiler is not available - using classic compiler
[javac] Compiling 1 source file to C:\Oliver\jengine2\source\binaries

BUILD FAILED

C:\Oliver\jengine2\source\build\build.xml:41: 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



I've got the tools.jar-file in my classpath, I've set my JAVA_HOME-Variable, but I have NO idea how to go on...
Hope somebody can help me...
Regards from Germany
OLLI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top