Date: Sat, 28 Feb 2004 16:37:52 +0000 From: Wayne Pascoe <freebsd-feb@penguinpowered.org> To: freebsd-questions@freebsd.org Subject: jikes from ports Message-ID: <20040228163752.GA70821@marvin.penguinpowered.org>
next in thread | raw e-mail | index | archive | help
Hi all,
I'm running FreeBSD 4.9-STABLE and I've got the following installed from
ports:
jdk-1.4.2p5
jdk-doc-1.4.2
linux-sun-jdk-1.4.2.02
jikes-1.19_1
which java shows that I am using the native JDK:
$ which java
/usr/local/jdk1.4.2/bin//java
When I do javac test.java, the file compiles fine and I am able to run
it by doing java test. When I try and use jikes, I get the following :
$ jikes test.java
Found 1 system error:
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Package "java/lang" could not be
found in:
.
I tried setting my CLASSPATH to /usr/local/jdk1.4.2/jre/lib/ but it
continued to do the same. When I set my CLASSPATH to
export CLASSPATH=/usr/local/jdk1.4.2/jre/lib/rt.jar then things compile,
with warnings and a .class file is output into the local directory, but
nothing runs any more.
Can anyone advise me what I should do to get jikes to work right, with
the native JDK ?
--
Wayne Pascoe
WINDOWS: Where do you want to go today?
LINUX: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040228163752.GA70821>
