Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: com.sun.tools.javac.Main is not on the classpath error

Filip Hanik

2003-10-03

Replies:

tools.jar is not in your classpath
----- Original Message -----
From: "Alex Korneyev" <akorneyev@(protected)>
Cc: <tomcat-user@(protected)>
Sent: Friday, October 03, 2003 2:00 PM
Subject: com.sun.tools.javac.Main is not on the classpath error


Hello,

When i run tomcat in a debugger, i get the following error when it is
trying to compile ANY jsp:

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


it works fine , if it is not wrunning in debug mode.

alex k.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.