Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 2493 invoked from network); 4 May 2000 20:39:40 -0000 Received: from f105.law4.hotmail.com (HELO hotmail.com) (216.33.149.105) by locus.apache.org with SMTP; 4 May 2000 20:39:40 -0000 Received: (qmail 94200 invoked by uid 0); 4 May 2000 20:39:09 -0000 Message-ID: <20000504203909.94199.qmail@hotmail.com> Received: from 148.88.17.9 by www.hotmail.com with HTTP; Thu, 04 May 2000 13:39:09 PDT X-Originating-IP: [148.88.17.9] From: "Robin Green" To: tomcat-user@jakarta.apache.org Subject: Re: Classpath in Tomcat Date: Thu, 04 May 2000 21:39:09 BST Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 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? > >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