Apple Event: May 7th at 7 am PT

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

Lates Java update renders all my Java apps inoperable

I just downloaded/installed the latest Java update.
jEdit, JDiskReport, jDiskUsage - the list goes on - all my Java apps fail.
Here's what I get in my system.log when I try to launch, say ... jEdit ...

Sep 25 21:57:51 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
Sep 25 21:57:51 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: [JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: [LaunchRunner Error] No main class specified
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: Exception
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: in thread "main" java.lang.NullPointerException
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
Sep 25 21:57:53 diplopoda [0x0-0x31031].org.gjt.sp.jedit[334]: at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
Sep 25 21:57:53 diplopoda com.apple.launchd[90] ([0x0-0x31031].org.gjt.sp.jedit[334]): Exited with exit code: 1

various, Mac OS X (10.5.5)

Posted on Sep 25, 2008 7:00 PM

Reply
33 replies

Oct 19, 2008 12:46 PM in response to gurth4ng

Same here after updating java angry ipscanner will not open. Consle looks like thins:

10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] [LaunchRunner Error] No main class specified
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] Exception in thread "main" java.lang.NullPointerException
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
10/19/08 3:40:24 PM [0x0-0x102102].net.azib.ipscan[32728] at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
10/19/08 3:40:25 PM com.apple.launchd[166] ([0x0-0x102102].net.azib.ipscan[32728]) Exited with exit code: 1

***... I need a good ip scanner for osx... preferably a native coco one.. nmap dont work right under osx too..

Nov 11, 2008 3:33 AM in response to gurth4ng

alright, i think i found a fix here:
http://renderfast.com/2008/09/26/java-for-mac-update-2-leaves-some-java-apps-bro ken/

"Someone in the Apple forums pointed out that simply copying the destination of the jEdit.app/Contents/MacOS/jedit symlink, which points to

/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaAppli cationStub

back into jEdit.app/Contents/MacOS/jedit (replacing the symlink with a copy) also makes the jEdit application bundle work again. This method has considerably fewer steps than mine.

Apparently this file is functionally the same as the one generated by Jar builder. It seems Java developers went for the symlink method specifically to avoid problems created whenever Apple would go and update Java. With this update the symlink doesn’t seem to work again."

hope this helps!

Lates Java update renders all my Java apps inoperable

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