Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tokajac

macrumors newbie
Original poster
Mar 21, 2011
1
0
Hello,

Using JarBundler to bundle the jar that is dependent on 3 more jars.
Going through the standard .app building process and when file is generated it works well on double-click. All Good.
BUT when I copy it on computer other than the developer machine, I get
Code:
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main"
java.lang.NoClassDefFoundError

One of the depending .jars i swing-layout*.jar

I'm in bad situation as I don't have another Mac around where I could tweak the generated .app

What causes this? How to fix?
Is there any better way to test the app on my comp?


Regards
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.