tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Morsberger <davidmorsber...@home.com>
Subject Re: Problem with TOMCAT 3.3 : can't find tools.jar of my JDK 1.3.0
Date Mon, 03 Dec 2001 13:02:20 GMT
I had the same problem and here is what I found:


I found where Tomcat is trying to add the tools.jar file. The line contains:

System.getProperty( "java.home" ) + "/../lib/tools.jar"

A println("java.home = " + System.getProperty( "java.home" )) in a test
program returns:

java.home = /usr/bin/../opt/java130/bin/../jre

jre was a link instead of a directory. This made the ../lib unpredictable. I
moved the jre around and now it works. The jre link was made to install an
"fast" jvm on the node.

Hope this helps,
Dave

> From: LEBRETON Philippe <philippe.lebreton@cti-paysloire.cnamts.fr>
> Organization: CTI des Pays de Loire
> Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Date: Mon, 03 Dec 2001 11:22:05 +0100
> To: Tomcat <tomcat-user@jakarta.apache.org>
> Subject: Problem with TOMCAT 3.3 : can't find tools.jar of my JDK 1.3.0
> 
> I have install TOMCAT 3.3 and jdk 1.3.0
> TOMCAT_HOME and JAVA_HOME is set.
> and when i go to the examples URL i have a error :
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> 
> i start tomcat with : bin/tomcat.sh start,
> and the display that  CLASSPATH= $TOMCAT_HOME/lib
> nothing for the JDK???
> 
> it is a bug ?
> 
> help me
> 
> thanks
> 
> Philippe LEBRETON
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message