Self-built JDK has troubles reading jar-files

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


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

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

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