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:[EMAIL PROTECTED] >Sent: Tuesday, July 27, 2004 9:44 AM >To: Tomcat Users List >Subject: RE: Java Class is not compiling > >> From: Schalk Neethling [mailto:[EMAIL PROTECTED] >> 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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
