tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Java Class is not compiling
Date Tue, 27 Jul 2004 13:45:15 GMT

Hi,
Yeah, I second Mr. Caldarale's advice.  Don't get j2ee.jar on your
classpath.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Caldarale, Charles R [mailto:Chuck.Caldarale@UNISYS.com]
>Sent: Tuesday, July 27, 2004 9:44 AM
>To: Tomcat Users List
>Subject: RE: Java Class is not compiling
>
>> 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




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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