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?
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to