[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] ant build script - cannot compile java classes

hello
i've got the problem on running my ant-built script within eclipse, the
compilation task of the java classes breaks, every other task works.

error message for the compile task:

[javac] BUILD FAILED: file:C:/Share/Java/_test/build.xml:24: Unable to find
a javac compiler;
com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not
point to the JDK
_____

i've set the JAVA_HOME variable in the window
- > Preferences -> Classpath Variables -> JAVA_HOME=C:/j2sdk1.4.1_01, and as
system variable. error message is always the same!
has everybody a hint?
where sould I set the JAVA_HOME variable?

eclipse version: 2.1, build: 200212181304

thanks for help!

regards rocco