You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by vishwam <gv...@info-telecomsys.com> on 2005/04/26 12:32:10 UTC

problem with compilation of jsp

hi 
i hhave installed new apache tomcat on my system, iam facing problem when executing jsp files
i have set 
classpath  as  C:\Java\jdk1.5.0\lib;C:\Program Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib

java_home as C:\Java\jdk1.5.0

catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
but iam getting the below error message
the root cause is
 
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
can any one help & solve this this problem please?



Re: problem with compilation of jsp

Posted by vishwam <gv...@info-telecomsys.com>.
the problem has been solved by

copying the
tools.jar file from  $java_home/lib   to $catalina_home/common/lib/

thanks for the reply to all
----- Original Message -----
From: "vishwam" <gv...@info-telecomsys.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, April 26, 2005 4:02 PM
Subject: problem with compilation of jsp


hi
i hhave installed new apache tomcat on my system, iam facing problem when
executing jsp files
i have set
classpath  as  C:\Java\jdk1.5.0\lib;C:\Program
Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat
5.0\common\lib

java_home as C:\Java\jdk1.5.0

catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
but iam getting the below error message
the root cause is

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
can any one help & solve this this problem please?





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


Re: problem with compilation of jsp

Posted by Anto Paul <an...@gmail.com>.
On 4/26/05, vishwam <gv...@info-telecomsys.com> wrote:
> hi
> i hhave installed new apache tomcat on my system, iam facing problem when executing jsp files
> i have set
> classpath  as  C:\Java\jdk1.5.0\lib;C:\Program Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib
> 
> java_home as C:\Java\jdk1.5.0
> 
> catalina_home as C:\Program Files\Apache Software Foundation\Tomcat 5.0;
> but iam getting the below error message
> the root cause is
> 
> 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
> can any one help & solve this this problem please?
> 
> 

Try setting JAVA_HOME instead of java_home. I am not sure whether it
is case sensitive in windows. It is not a good idea to install Tomcat
in a directory with spaces in the name.
-- 
Anto Paul

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