Self-built JDK has troubles reading jar-files

Clemens Eisserer linuxhippy at gmail.com
Tue Nov 3 21:51:21 UTC 2009


Hello,

I've just tried syncing with master, however my build doesn't seem to
be able to handle jar-files - even with a fresh clone of jdk7/jdk or
jdk//2d/jdk:

[ce at localhost linux-i586]$ bin/java -Dsun.java2d.xrender=True -jar
/fc8/usr/j.jar
Exception in thread "main" java.lang.NoClassDefFoundError: java2d/Java2Demo
        at java.lang.ClassLoader.findBootstrapClass(Native Method)
        at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:10
        at java.lang.ClassLoader.loadClass(ClassLoader.java:388)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:386)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:332)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:1

Applications start up, after I unzip their jar-files and state the
main-class explicitly.

Any ideas what could be the problem? I am building on Fedora12 Beta, x86.

Thank you in advance, Clemens



More information about the build-dev mailing list