not set this correctly. I set it to point to C:\jdk1.4,
but it didn't fix the problem.
-Original Message-
From: asheesh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 9:01 PM
To: [EMAIL PROTECTED]
Subject: Re: sun/tools/javac/Main not found while running Tomcat 4
Sorry for the mix up.
The work around is to copy \jdk1.4\lib\tools.jar to the Apache Tomcat
4.0\common\lib folder.
-Original Message-
From: Beem Rickey L (Rick) CNIN
Sent: Thursday, September 20, 2001 9:10 AM
To: '[EMAIL PROTECTED]'
Subject: RE: sun/tools/javac/Main not found while
Rickey L (Rick) CNIN
Sent: Thursday, September 20, 2001 9:13 AM
To: Beem Rickey L (Rick) CNIN; '[EMAIL PROTECTED]'
Subject: RE: sun/tools/javac/Main not found while running Tomcat 4 as a
service on Windows 2000
Sorry for the mix up.
The work around is to copy \jdk1.4\lib\tools.jar to the Apache
Same problem with me, when i upgraded my tomcat 3.1 to tomcat 4.0 , and my
tomcat 3.1 stoped compiling all the new JSP pages, where as all pages work
fine with tomcat4.0
I hope some one can help us in this.
cheers
asheesh
- Original Message -
From: Beem Rickey L (Rick) CNIN [EMAIL
Pete and Julian,
I looked into $TOMCAT_HOME/bin/tomcat.sh and saw:
CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar
So my problem was that JAVA_HOME was not set
properly before starting Tomcat. The script tomcat.sh
does try to guess what JAVA_HOME is (by `which java`)
but in my case the
You need to include tools.jar in your classpath (tools.jar contains the java
compiler - javac - required to compile JSPs.). You should find the jar file
in the lib directory where you installed your JDK.
P.
Thus spake Guoben Li [EMAIL PROTECTED] on Wed, 27 Jun 2001 16:46:06 -0700 (PDT):
GL
You're either using a jre with no tools.jar (contains sun/tools/javac/Main),
or you don't have tools.jar in your classpath.
a. Check your using a jdk, not just jre
b. Check your classpath.
Jules
Guoben Li wrote:
Hi,
I have Tomcat 3.2.1 configured with Apache on Sun
Solaris 2.7. A
Jules and Peter,
Thank you both for you quick response!
I found tools.jar in /usr/j2se/lib on my server.
The remaining question is: how to set CLASSPATH for
Tomcat? When I run
http://myserver/examples/jsp/dates/date.jsp it is
Tomcat that tries to compile it and create a servlet
for it,
Umm, I think if you have /usr/j2se as your $JAVA_HOME, Tomcat will find it
automagically, provided you use the tomcat/catalina startup script in
$TOMCAT_HOME/bin. Maybe your JAVA_HOME points elsewhere? Or maybe you need to
update the startup script you use to include /usr/j2se/tools.jar e.g.
You might try putting tools.jar in $JAVA_HOME/jre/lib/ext/
I believe this is a default classpath for java.
Try that for starters, otherwise you could hack tomcat.sh (or whatever
script you use to start tomcat) to add a CLASSPATH pointing to tools.jar
before tomcat starts.
-Pete
You need to
This is actually an extremely common error. You need to set the
environment variable JAVA_HOME to the directory that the JDK is located in
so that the shell script/batch file can add JAVA_HOME/lib/tools.jar to your
class path for you.
Randy
-Original Message-
From:
It seems that your jsp file can not be found. Where you put your jsp file?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 9:06 AM
To: [EMAIL PROTECTED]
Subject: sun/tools/javac/Main
Hello,
I have a strange error during an access
12 matches
Mail list logo