tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@UNISYS.com>
Subject RE: Java Class is not compiling
Date Tue, 27 Jul 2004 13:44:03 GMT
> From: Schalk Neethling [mailto:schalk@volume4.co.za]
> Subject: Re: Java Class is not compiling
> 
> Download J2EE from the following URL:
> http://java.sun.com/j2ee/1.4/download.html#sdk
> 
> Aris Javier wrote:
> 
> >You should download j2sdkee version or the enterprise version of
> >java.. 

Actually, that's not a good idea.  That puts multiple copies of the necessary jars on your
system, along with a second copy of Tomcat, plus the Sun app server.  This can easily cause
class loader conflicts when you're trying to run the desired Tomcat, and can cause runtime
problems if the downloaded J2EE SDK is not the same level as that provided with the Tomcat
release.

All the necessary jars are in the Tomcat download you already have.  All you need to do is
set the -classpath parameter on your javac statement to include them.  The javax classes should
be in:
	C:\Apache\Tomcat\common\lib\servlet-api.jar
judging from how you were trying to compile your program.

You definitely need to become more familiar with Java in general before trying to tackle servlets.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message