LRTimelapse Forum
App refuses to start with NoClassDefFoundError: javax/swing/SwingWorker - Printable Version

+- LRTimelapse Forum (https://forum.lrtimelapse.com)
+-- Forum: Archive (https://forum.lrtimelapse.com/Forum-archive)
+--- Forum: LRT3 - Archive (https://forum.lrtimelapse.com/Forum-lrt3-archive)
+--- Thread: App refuses to start with NoClassDefFoundError: javax/swing/SwingWorker (/Thread-app-refuses-to-start-with-noclassdeffounderror-javax-swing-swingworker)



App refuses to start with NoClassDefFoundError: javax/swing/SwingWorker - rsoese@gmx.de - 2011-10-25

Hy,

I just wanted to give LRTimelapse a try but was not able to start the app. I read all the other threads about failing to start the app on OSX but nothing helped:

I installed the new Java from Apple
I started the jar only
I renamed the app

Without luck. The Terminal logs this exception:

Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: java.lang.NoClassDefFoundError: javax/swing/SwingWorker
Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: at java.lang.Class.forName0(Native Method)
Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: at java.lang.Class.forName(Class.java:242)
Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: at apple.launcher.LaunchRunner.loadMainMethod(LaunchRunner.java:56)
Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
Oct 25 21:44:12 robert-sosemanns-computer [0x0-0x67067].lrtimelapse.LRTimelapseApp[3717]: at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

Who can help. Eigther in english or Deutsch ;-)

Thanks in advance.

Robert


RE: App refuses to start with NoClassDefFoundError: javax/swing/SwingWorker - Gunther - 2011-10-26

That's really weird. And I honestly have no Idea what causes that error, I've never heard of a case like that. Could you please double check the java installation? The "Swingworker"-class that is not found normally is a core java class, so it should normally be there. Please give it another try and get back to me.


RE: App refuses to start with NoClassDefFoundError: javax/swing/SwingWorker - rsoese@gmx.de - 2011-10-29

Das Problem besteht (natürlich) nach wie vor aber diese Forum berichtet das irgend ein Mac / Java Update den Swingworker "zerstört":

https://discussions.apple.com/thread/2446894?start=0&tstart=0

Ich check die tipps mal aus.


RE: App refuses to start with NoClassDefFoundError: javax/swing/SwingWorker - Gunther - 2011-10-30

Okay, bitte berichte dann mal! Ich habe selbst leider keinen Mac, wäre daher an einer Info sehr interessiert.