Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 14:11:28 -0700 (MST)
From:      Godmar Back <gback@cs.utah.edu>
To:        hermit@skylink.net (Skylink)
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: help with a jre problem.
Message-ID:  <199901132111.OAA20125@sal.cs.utah.edu>
In-Reply-To: <369CF798.39D488BB@skylink.net> from "Skylink" at Jan 13, 99 11:44:24 am

next in thread | previous in thread | raw e-mail | index | archive | help

 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901132111.OAA20125>