From owner-freebsd-java Wed Jan 13 13:11:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01579 for freebsd-java-outgoing; Wed, 13 Jan 1999 13:11:42 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA01561 for ; Wed, 13 Jan 1999 13:11:39 -0800 (PST) (envelope-from gback@cs.utah.edu) Received: from sal.cs.utah.edu (sal.cs.utah.edu [155.99.195.64]) by wrath.cs.utah.edu (8.8.8/8.8.8) with ESMTP id OAA07570; Wed, 13 Jan 1999 14:10:28 -0700 (MST) From: Godmar Back Received: (from gback@localhost) by sal.cs.utah.edu (8.8.8/8.8.8) id OAA20125; Wed, 13 Jan 1999 14:11:29 -0700 (MST) Message-Id: <199901132111.OAA20125@sal.cs.utah.edu> Subject: Re: help with a jre problem. To: hermit@skylink.net (Skylink) Date: Wed, 13 Jan 1999 14:11:28 -0700 (MST) Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <369CF798.39D488BB@skylink.net> from "Skylink" at Jan 13, 99 11:44:24 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You cannot use Sun's classes.zip with Kaffe. Newer versions of kaffe will complain if you do that. Instead, use setenv CLASSPATH /usr/home/power/server_classes kaffe STServer 10000 9004 Also, you should send kaffe related problems to kaffe@rufus.w3.org. This mailing list is for people using Sun's FreeBSD java port. - Godmar > > I installed the jdk and kaffe from the ports collection of a FreeBSD > 2.2.8-Stable installation. > > I was having a problem not being able to find the class files. Here is > the error message I got when trying to run a java application with > kaffe. > > su-2.02$ kaffe -classpath "/usr/home/power/server_classes/" STServer > 10000 9004 > Cannot find essential class 'java/lang/Object' in class library ... > aborting. > Abort trap (core dumped) > > I solved this error message by adding the classpath to the classes.zip > file. > kaffe -classpath > "/usr/local/jdk1.1.7/lib/classes.zip:/usr/home/power/server_cl > asses/" STServer 10000 9004 > > But now when I try to run any java applications it just swells in memory > to above 85megs. It also pegs out the processer to 98%. > > 21456 power 80 0 89356K 89036K RUN 0:49 97.33% 88.96% Kaffe > This is after running for a few minutes. > 21456 power -18 0 156M 89272K swread 1:25 6.60% 6.60% Kaffe > After running for a few minutes the app Core Dumps with the following > message. > Illegal instruction - core dumped > > The same thing also happens when I try to run any of the demo > applications included with the JDK. > > The machine is a Pentium Pro 200 with 128megs of Ram. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message