[fedora-java] Fedora 8 - missing rt.jar/core classes Thread/Object compiling frysk

Mark Wielaard mark at klomp.org
Mon Nov 12 09:42:15 UTC 2007


Hi,

I heard a couple of reports on irc and now I got the same failure myself
on a fresh Fedora 8 install (x86_64 - I am not seeing this on my x86
Fedora 8 install that got upgraded from Test 3, there everything is
fine). The issue is compiling frysk (or anything else using gcjh):

Exception in thread "main" java.io.IOException: can't find class file
java/lang/Thread.class in
java.net.URLClassLoader{urls=[file:/home/mark/src/git/frysk-obj/frysk-imports/tests/./,file:/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/rt.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}

This is caused by a broken symlink:
lrwxrwxrwx 1 root root 17 2007-11-09
23:34 /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/rt.jar
-> /libgcj-4.1.2.jar

This can manually be fixed by setting the symlink
to /usr/share/java/libgcj-4.1.2.jar

Filed as bug https://bugzilla.redhat.com/show_bug.cgi?id=377341

Cheers,

Mark




More information about the fedora-devel-java-list mailing list