Environment variable problem (need help please)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ahmad_Rahmani
Posted On:   Monday, November 5, 2001 10:05 PM

Exception javax.servlet.ServletException: sun/tools/javac/Main root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main examplesservlets directory examples work but besides numgess of jsp directory nothing works. (tomcat 4.0.1 win 2000 pro) Please note that I have copied tools.jar in every directory of c:jdk1.4 and c: omcat, out of frustration, so it should not be tools.jar problem. CATALINA_HOME c: omcat JAVA_HOME c:jdk1.4 Classpath %CATALINA_HOME%libservlet.jar;%CATALINA_HOME%commonlib;%JAVA_HOME%;%QTJava%;%JAVA_HOME%lib ools.jar;%JAVA_HOME%lib;%J2EE_HOME%libsystemcloudscape.jar;%   More>>

Exception

javax.servlet.ServletException: sun/tools/javac/Main


root cause

java.lang.NoClassDefFoundError: sun/tools/javac/Main


examplesservlets directory examples work but besides numgess of jsp directory nothing works.


(tomcat 4.0.1 win 2000 pro)


Please note that I have copied tools.jar in every directory of c:jdk1.4 and c: omcat, out of frustration, so it should not be tools.jar problem.


CATALINA_HOME c: omcat


JAVA_HOME c:jdk1.4


Classpath

%CATALINA_HOME%libservlet.jar;%CATALINA_HOME%commonlib;%JAVA_HOME%;%QTJava%;%JAVA_HOME%lib ools.jar;%JAVA_HOME%lib;%J2EE_HOME%libsystemcloudscape.jar;%J2EE_HOME%j2sdkeelibcloudscapecloudclient.jar;%J2EE_HOME%j2sdkeelibcloudscapeRmiJdbc.jar;%ANT_HOME%;.


Autoexec.bat

CLASSPATH=%CATALINA_HOME%libservlet.jar;%JAVA_HOME%;%JAVA_HOME%lib ools.jar;%JAVA_HOME%lib;.

set JAVA_HOME=c:jdk1.4

PATH=%PATH%;%JAVA_HOME%LIB;C:JBUILDER4JDK1.3BIN

SETPATH= C:JBUILDER4JDK1.3BIN;%JAVA_HOME%LIB;%JAVA_HOME%



Thanks in advance.

   <<Less
About | Sitemap | Contact