January 12th, 2013, 01:10 PM
-
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: de/javasoft/pl
Hello Friends, I converted my jar file into a .exe by using the Inno Setup Compiler and when I double click the .exe the it won't open and a text file named "error" auto generates where the .exe is, and it shows like this. Please help
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: de/javasoft/plaf/synthetica/SyntheticaBlackStarLookAndFeel
at MainC$1.run(MainC.java:14)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: de.javasoft.plaf.synthetica.SyntheticaBlackStarLookAndFeel
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)
... 15 more
January 12th, 2013, 01:40 PM
-
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: de/javasoft/plaf/synthetica/SyntheticaBlackStarLookAndFeel
The jvm can not find the class listed in the error message.
Where are the class definitions that the program needs to execute?
Normally when using the java command to execute a program, the classes need to all be on the classpath.
You are trying another way to execute a java program. What does the doc for the programs you are using say about missing class definitions?