You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Juergen Heckel <JH...@t-online.de> on 2002/11/01 11:54:25 UTC
[Win32] Tomcat 5.0 -- JavaSDK problem
Hi,
first Apache 2.0.44-dev and Tomcat 5.0 are running fine, Apache is
starting Tomcat; with http://localhost:8080 I see the Tomcat startpage.
But testing a JSP 2.0 example in the application manager e.g.
/jsp-examples/basic_comparisons.jsp fails.
From stderr.log:
01.11.2002 11:36:33 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=20/230
config=f:\jakarta-tomcat-5.0\conf\jk2.properties
01.11.2002 11:37:04 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)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:373)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:414)
....
The javac.exe IS in the path (i can start it from elsewhere),
PATH=f:\j2sdk1.4.1_01;f:\j2sdk1.4.1_01\bin
JAVA_HOME=f:/j2sdk1.4.1_01
CLASSPATH=.;f:\jakarta-tomcat-5.0\common\lib\servlet.jar;
f:\jakarta-tomcat-5.0\common\lib\tools.jar;f:\jakarta-tomcat-5.0\bin\boo
tstrap.jar;
Please can someone help me?
Juergen
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [Win32] Tomcat 5.0 -- JavaSDK problem
Posted by "Mr. Cristian Romanescu" <c....@finsiel.ro>.
Juergen Heckel wrote:
> Hi,
> first Apache 2.0.44-dev and Tomcat 5.0 are running fine, Apache is
> starting Tomcat; with http://localhost:8080 I see the Tomcat startpage.
>
> But testing a JSP 2.0 example in the application manager e.g.
> /jsp-examples/basic_comparisons.jsp fails.
>
> From stderr.log:
> 01.11.2002 11:36:33 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=20/230
> config=f:\jakarta-tomcat-5.0\conf\jk2.properties
> 01.11.2002 11:37:04 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)
>
>
> at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java)
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java)
> at
> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:373)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:414)
> ....
> The javac.exe IS in the path (i can start it from elsewhere),
> PATH=f:\j2sdk1.4.1_01;f:\j2sdk1.4.1_01\bin
> JAVA_HOME=f:/j2sdk1.4.1_01
JAVA_HOME=f:\j2sdk1.4.1_01
------------^
Well, maybe isn't this the answer, but...
>
> CLASSPATH=.;f:\jakarta-tomcat-5.0\common\lib\servlet.jar;
> f:\jakarta-tomcat-5.0\common\lib\tools.jar;f:\jakarta-tomcat-5.0\bin\boo
> tstrap.jar;
>
>
> Please can someone help me?
>
> Juergen
>
> --
> To unsubscribe, e-mail:
>
> For additional commands, e-mail:
>
--
Cristian D. Romanescu
alternative: cristian at qdrei.de
mobile : +40745133096
--- "Pauca sed matura" - Gauss' motto ---
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>