tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Classpath in Tomcat
Date Thu, 04 May 2000 21:39:09 GMT
Andy Bosch <Andy_Bosch@csi.com> wrote:
>Hi folks,
>
>I am using Tomcat 3.1 . Because I need the package
>com.sun.image.codec.jpeg.* I have to use the rt.jar
>from the jdk1.2.2 in my classpath. But when I do this,
>Tomcat gets an segmentation error on startup. Without setting
>the classpath to rt.jar tomcat starts, but I cannot use classes
>out of this package (of course !!!).
>How can I fix this?
>Where are  the jdk-classes located used by Tomcat?
>
>Thanks,
>Andy
>

Java 2 core classes are ONLY designed to be used with Java 2 (except for a 
few exceptions like collections). That's why you get segmentation fault. DO 
NOT use Java 1. Instead, change your tomcat startup.sh or startup.bat file 
to run tomcat in java 2.


--
Robin

270+ Open Source Java links! 
http://directory.mozilla.org/Computers/Programming/Languages/Java/Open_Source/

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message