Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 11:44:24 -0800
From:      Skylink <hermit@skylink.net>
To:        freebsd-java@FreeBSD.ORG
Subject:   help with a jre problem.
Message-ID:  <369CF798.39D488BB@skylink.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369CF798.39D488BB>