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 <[EMAIL PROTECTED]>
> Organization: CTI des Pays de Loire
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Date: Mon, 03 Dec 2001 11:22:05 +0100
> To: Tomcat <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>