Skip to main content

JRE 1.6.0_10beta: NoClassDefFoundError: javax/swing/plaf/ColorUIResource

2 replies [Last post]
Joined: 2003-06-10

I've installed jre-6u10-beta-windows-i586-p-iftw-k.exe on my virtual machine running a "naked" Windows 2000 SP4. After downloading, the size of the C:\Programme\Java\jre6 directory is over 100MB. But when I launch my application, I'm getting following exception:

java.lang.NoClassDefFoundError: javax/swing/plaf/ColorUIResource
at SmartSVN.main(SourceFile:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.swing.plaf.ColorUIResource
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 7 more

After rebooting this virtual machine, the size of C:\Programme\Java\jre6 is decreased to 87MB.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-10

Now, one day and another reboot later, it works - at least I'm not getting this exception. The size of C:\Programme\Java\jre6 is still at 87MB. Very mysterious.

Joined: 2006-02-27

Does it happen again if you uninstall and reinstall the JRE using the same installer?

I will gladly fix this if we can find a reproducible test case.