Apr 072012
 

UPDATE: found a fix for this. The classpath was not always being set properly. I need to test on my test boxes and then rebuild the batch file and redeploy. I hope to have a fix by tomorrow.

 

If you are getting this error when running EQDV:

Exception in thread “main” java.lang.NoClassDefFoundError: griffon/swing/SwingApplication
Caused by: java.lang.ClassNotFoundException: griffon.swing.SwingApplication
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: griffon.swing.SwingApplication. Program will exit.

I have managed to reproduce it. If you set a valid JAVA_HOME environment variable, the code will work. For some  installs, it looks like java is in the path but the installer is detecting that but it is not putting a valid JAVA_HOME. I’m researching a fix. For the one computer I was able to reproduce it on, setting  JAVA_HOME fixed it. Let me know if that doesn’t work for you.

 

 

 Posted by at 1:31 pm

Sorry, the comment form is closed at this time.