Follow the below exactly, that's what I did:
----------------------------------------------------------------------------
----------------
File placement and environment setup

Download the appropriate jakarta-tomcat [.zip | .gz | .Z] file. 

Unzip the file into some directory (say /usr/local or C:\). This should
create a new subdirectory named "tomcat". [Does it still create
"jakarta-tomcat" instead? If so, just rename it "tomcat".] 

Change directory to "tomcat" and set a new environment variable
(TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy. The
exact directory may change from system to system; check your local
filesystem to be sure where Tomcat is installed. 

On Win32 systems you should type: 

set TOMCAT_HOME=c:\tomcat 
On UNIX (using bash/sh) you should type: 
TOMCAT_HOME=/usr/local/tomcat ; export TOMCAT_HOME 

On UNIX (using tcsh) you should type: 
setenv TOMCAT_HOME=/usr/local/tomcat 
Set the environment variable JAVA_HOME to point to the root directory of
your JDK hierarchy, then add the Java interpreter to your PATH environment
variable. The exact directory may change from system to system; check your
local filesystem to be sure where Java is installed. 

Win32:
set JAVA_HOME=c:/jdk1.2
set PATH=%PATH%;%JAVA_HOME%\bin 
Unix (bash/sh):
set JAVA_HOME=/user/local/java/jdk1.2; export JAVA_HOME
set PATH=$PATH:$JAVA_HOME/bin; export PATH

Unix (tcsh):
setenv JAVA_HOME=/user/local/java/jdk1.2
setenv PATH=$PATH:$JAVA_HOME/bin 
----------------------------------------------------------------------------
----------------

-----Original Message-----
From: Jeff Sum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 4:20 AM
To: [EMAIL PROTECTED]
Subject: Re: fail to setup tomcat in NT


it have the below error..............

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tomcat/startup/Tomcat


----- Original Message -----
From: "Jeff Sum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 26, 2000 5:14 PM
Subject: Re: fail to setup tomcat in NT


> i have setted but doesn't work
>
> ----- Original Message -----
> From: "Merdes, Matthias" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 26, 2000 5:02 PM
> Subject: AW: fail to setup tomcat in NT
>
>
> hi jeff,
>
> i had the same problem.
> your CLASSPATH must include <youpath>\jdk1.2.2\lib\tools.jar
> (replace jdk1.2.2 with what' right for you)
> tools.jar contains the necessary javac as a class.
>
> good luck
> matthias
>
>
> -----Urspr�ngliche Nachricht-----
> Von: Jeff Sum [mailto:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 26. Oktober 2000 10:58
> An: Tomcat
> Betreff: fail to setup tomcat in NT
>
> I have setted up tomcat_home and java_home, the server started and the
> servlet sample run smooth but the jsp sample give me a 500 internal server
> error!
>
>
>

Reply via email to