Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » unable to finf javac compiler
unable to finf javac compiler [message #60166] Thu, 11 December 2003 15:12
Eclipse UserFriend
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
Previous Topic:Tools Project Repository
Next Topic:unable to finf javac compiler
Goto Forum:
  


Current Time: Thu Sep 26 22:49:26 GMT 2024

Powered by FUDForum. Page generated in 0.03739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top