tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Bosch <Andy_Bo...@csi.com>
Subject Re: Classpath in Tomcat
Date Fri, 05 May 2000 06:00:19 GMT
Hi Robin,

Robin Green wrote:

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

Thanks, but how can I do this? In the startup.sh script there is no hint that
tomcat
uses Java 1 classes. Can you please tell me the line I have to change?

Andy




Mime
View raw message