unable to finf javac compiler [message #60166] |
Thu, 11 December 2003 15:12 |
Eclipse User |
|
|
|
Originally posted by: zjustsword.netscape.net
I'm trying to use Eclipse 3.0.0 with Tomcat 4.1.27. I've got j2sdk1.4.2
and jdk1.3.1_09 installed.
I've selected the j2sdk1.4.2 within Eclipse. When I try to run the jsp
examples that come with Tomcat I get the following:
**************************************************
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.CompilerAdapterFacto ry.getCompiler(CompilerAdapterFactory.java:139)
**************************************************
I've gone through many threads in the newsgroup and tried:
1. Adding the tools.jar to the Ant classpath
2. Setting the JAVA_HOME to C:\j2sdk1.4.2
3. Use the -vm -vm C:\j2sdk1.4.2\jre\bin\javaw.exe
None of these resolve my problem.
Can anybody please help?
Thanks,
Irf
|
|
|
Powered by
FUDForum. Page generated in 0.03739 seconds