Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Keep getting errors when trying to open JAR files

Hi


My son is trying to open a .jar on his Macbook to add a mod to Minecraft. It throws an error and directs him to Console each time, but Console isn't showing any errors. Using advice on a couple of similar threads I followed some steps but ended up at a dead end.


The Terminal message I get when I follow the steps in another thread is this:


Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display

Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display

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:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


Any help on what I need to do to resolve this so he can open it will be much appreciated.


Thanks


Andy

MacBook (13-inch Mid 2010), Mac OS X (10.7.3), Java Issues

Posted on Mar 19, 2012 11:10 AM

Reply
6 replies

Mar 19, 2012 12:09 PM in response to Eric.

Hi Eric.


I am referring to the main Console. I don't see anything in Java Console - but the steps I followd in teh other thread yielded that error message from Terminal - it was different from the error in the other thread, which related to out of data Java install. I have no clue what this is and Google isn't helping me much.


Any light that can be thrown on on this woudl be great


Thanks

Keep getting errors when trying to open JAR files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.