Installed eclipse 2.1 and tomcat 4.1.24. While try to
launch the webapp, get "The tools.jar is missing. please
check a Java SDK is installed". Thanks.
I get the following error when trying to launch my application,
I am running the sdk and tolls.jar IS on the classpath...
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
at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactor
y.getCompiler(CompilerAdapterFactory.java:139)
at org.apache.tools.ant.taskdefs.Javac.compile
(Javac.java:833)
at org.apache.tools.ant.taskdefs.Javac.execute
(Javac.java:682)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The plugin is searching tools.jar in JRE directory. You can to
copy file tools.jar to JREs directory lib or to go to
Windows/Preferences/Installed JREs option in Eclipse menu
and to modify the Installed JREs.
Regards,
Andre Luiz
rbla@ig.com.br
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
I am also encountered with the same problem. Can any one
help us?
Logged In: NO
I am also encountered with the same problem. Can any one
help us?
Logged In: NO
You will probably find that you aren't pointing to a JSDK but
to a JRE in your Eclipse setup.
Look at the Window|Preferences|Installed JREs menu
and add a JSDK in instead of a J2RE path.
I replicated this bug by pointing to the J2re1.4.1_01 and then
resolved it by changing to my j2sdk1.3.1_01
Logged In: NO
hi,
I get the following error when trying to launch my application,
I am running the sdk and tolls.jar IS on the classpath...
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
at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactor
y.getCompiler(CompilerAdapterFactory.java:139)
at org.apache.tools.ant.taskdefs.Javac.compile
(Javac.java:833)
at org.apache.tools.ant.taskdefs.Javac.execute
(Javac.java:682)
Logged In: NO
Eric,
Sorry, but my English is very bad. 8-(
The plugin is searching tools.jar in JRE directory. You can to
copy file tools.jar to JREs directory lib or to go to
Windows/Preferences/Installed JREs option in Eclipse menu
and to modify the Installed JREs.
Regards,
Andre Luiz
rbla@ig.com.br
Logged In: NO
hi ... i was able to work around the problem and able
to start the tomcat server from Eclipse ......
copy the tools.jar into c:\Program files \java\jre\lib and
viola ... it ran like TOMCAT.......
--prasad .p.v.d.r