tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Schulz <>
Subject tools.jar not in CP (Tomcat 5.5.15)
Date Sun, 02 Apr 2006 04:12:20 GMT
My webapps needs to access the javac compiler classes from tools.jar.

This appears to work on dev environment on Windows, but it doesn't
in a deployment environment:
Solaris 9
JDK 1.5.0_06

The app hits a java.lang.ClassNotFoundException:

According to the documentation, tools.jar should always be in the
class path:

Looking at the startup scripts (I think I saw it in the doumentation too
somewhere) there is a 'javac' option (in, which appears
to be in some state of disrepair.  At least the order of arguments
passed from does not match how looks at the args,
nor does actually consume the 'javac', or evaluate it
as a valid command.

I guess I'm confused at this stage as to what to believe and how to proceed.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message