tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: Classpath in Tomcat
Date Thu, 04 May 2000 21:39:09 GMT
Andy Bosch <> 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?

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 or startup.bat file 
to run tomcat in java 2.


270+ Open Source Java links!

Get Your Private, Free E-mail from MSN Hotmail at

View raw message