gionata-bisciari / seaglass

Automatically exported from code.google.com/p/seaglass
0 stars 0 forks source link

NoClassDefFound Error when running with java 1.7 #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the seaglass-demo.jar
2. Run with java 1.7.0 

What is the expected output? What do you see instead?

Expected output is to see the demo application.
Instead you get the following stacktrace:
E:\Downloads>java -jar seaglass-demo.jar
Exception in thread "main" java.lang.NoClassDefFoundError: 
sun/swing/plaf/synth/SynthUI
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown 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.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at javax.swing.SwingUtilities.loadSystemClass(Unknown Source)
        at javax.swing.UIDefaults.getUIClass(Unknown Source)
        at javax.swing.UIDefaults.getUI(Unknown Source)
        at javax.swing.UIManager.getUI(Unknown Source)
        at javax.swing.JViewport.updateUI(Unknown Source)
        at javax.swing.JViewport.<init>(Unknown Source)
        at javax.swing.JScrollPane.createViewport(Unknown Source)
        at javax.swing.JScrollPane.<init>(Unknown Source)
        at javax.swing.JScrollPane.<init>(Unknown Source)
        at org.jdesktop.laffy.Laffy.<init>(Laffy.java:103)
        at org.jdesktop.laffy.Laffy.getInstance(Laffy.java:325)
        at com.seaglasslookandfeel.demo.SeaGlassLaffyDemo.main(SeaGlassLaffyDemo.java:31)
Caused by: java.lang.ClassNotFoundException: sun.swing.plaf.synth.SynthUI
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 26 more

E:\Downloads>java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

E:\Downloads>"c:\Program Files\Java\jdk1.6.0_26\jre\bin\java.exe" -jar 
seaglass-demo.jar

What version of the product are you using? 
The version of the product that is being used with the demo

On what operating system?
Windows 7  

What JRE version?
Java 1.7.0 (fails)
Java 1.6.0_26 (succeeds)

Original issue reported on code.google.com by timothy....@gmail.com on 21 Nov 2011 at 10:28

GoogleCodeExporter commented 8 years ago

Original comment by kahuxtable on 21 Nov 2011 at 1:45

GoogleCodeExporter commented 8 years ago
I can confirm this.

Original comment by dimi...@gmail.com on 25 Apr 2012 at 3:07

GoogleCodeExporter commented 8 years ago
It's a duplicate. Have you tried the development version in Rossi's branch?

Original comment by kahuxtable on 25 Apr 2012 at 12:11