Hint: Ant plugin for Eclipse doesn't compile
From: Meikel (m.bisping_at_gmx.de)
Date: 04/22/04
- Next message: shay: "Re: Request Opinions on a typical Java development environment (non-Windows)"
- Previous message: Roedy Green: "Re: Help debugging Java code with Java 1.3.1_01 Java HotSpot Client VM (jvm.dll)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Apr 2004 01:43:04 -0700
Ant under eclipse didn't compile, inspite of the fact that JAVA_HOME
was set
[javac] BUILD FAILED: file:e:workspace/tools/build.xml:36:
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 solved the problem by going to Window/Preferences/Ant/Runtime
Add Jar
c:\j2sdk1.4.2\lib\tools.jar
- Next message: shay: "Re: Request Opinions on a typical Java development environment (non-Windows)"
- Previous message: Roedy Green: "Re: Help debugging Java code with Java 1.3.1_01 Java HotSpot Client VM (jvm.dll)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|