Ralph Einfeldt wrote:
The problem hasn't anythind to do with javac.

Tmcat uses a class from tools.jar to compile the source.
(That's the class that is used by javac itself)

So it's this jar that is not found in tomcats classpath.

This may be caused by the wrong JAVA_HOME as a previous post said.

Hi,
thank you.
I changed this entry to
JAVA_HOME=f:\j2sdk1.4.1_01
CLASSPATH=.;f:\j2sdk1.4.1_01\lib\tools.jar
but I get the same error as before. The tools.jar is in f:\j2sdk1.4.1_01\lib.

In the stderr.log there is another strange (at the end, look at el\/basic_):
--^^
01.11.2002 13:49:17 org.apache.jasper.compiler.Compiler generateClass
SCHWERWIEGEND: Javac execption
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.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java)
.....
01.11.2002 13:49:17 org.apache.jasper.compiler.Compiler generateClass
SCHWERWIEGEND: Error compiling file: F:\jakarta-tomcat-5.0\work\Standalone\localhost\jsp-examples\jsp2\el\/basic_0002dcomparisons_jsp.java [javac] Compiling 1 source file


Windows likes backslashes, Apache slashes, Java ??, Tomcat ??
Why so difficult?

Juergen

--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>



Reply via email to