Personal blog of Seph Soliman Thoughts, Tinkerings and Tips

5May/084

Running jEdit on Mac with Java 6 SE

modifications in Finder

Apple recently released Java 6 SE through a Java update. With the release of Java 6 Mac users can now enjoy better OS X integration besides the many other improvements in Java 6.

Using Java 6 as the default JVM has implications with a standard jEdit installation on Mac. But the solution is simple...

Being a jEdit user I was eager to try out the new JVM version to see if there were any general improvements.

Since Mac users has gone long without proper OS integration, one jEdit developer (Kris Kopicki) decided to fix this with a Mac OS X plugin that included many small improvements.

With the new update Apple has completely removed the cocoa API (packages in com.apple.cocoa). The result: jEdit will fail to start with Java 6 SE.

jEdit will simply "bounce" once and then quit. This is caused by a fatal exception during startup.

The fix is simple: Remove the Mac OS X plugin.

With the improved cocoa/mac support many of the features in the plugin are unncessesary. Key-mappings are improved to use the CMD-buttons in all textareas and the menubar is now moved to the actual Mac menubar.

How to remove the plugin:

  • Right click/CTRL+click the jEdit application icon
  • Choose "Show Package Contents"
  • Go to the Contents/Java/jars folder
  • Delete the MacOS.jar file (you may need to authenticate to do this)

modifications in Finder

Launching jEdit with Java 6 SE should now be possible. Alternatively to setting Java 6 SE as your standard JVM you can set the Contents/Info.plist file property: "Root/Java/JVMVersion" to "1.6+" instead of "1.5+". Either way should work.

Tagged as: , , Leave a comment
Comments (4) Trackbacks (0)
  1. I was going crazy trying to find out why jedit suddenly was going crazy.

    Much appreciated.

  2. This didn't work for me. I continue facing the same issue—"jEdit will simply "bounce" once and then quit.".

    Any further suggestions?

  3. Rahul, those are the most common issues. If you want to see the exact problem, try quitting jEdit and opening a Terminal (under Applications, Utilities) and type:
    /Applications/jEdit.app/Contents/MacOS/jedit

    This should launch jEdit through the terminal and output some debugging info. Could you paste it into an e-mail to me? This should tell us, what is going wrong.

    Best regards
    Seph

  4. In case Jedit still fails to launch despite Seph's suggestions, make sure that "Run in 32-bit mode" is unchecked in the "Get Info" option from the context menu.


Leave a comment


Security Code:

No trackbacks yet.


Energisk software entreprenør og hypnoterapeut med flair for effektive metoder og elsker en god udfordring.

Pages

Recent Comments

Tags

apple basecamp bitbucket boliga code css danger digital signatur django firebug firefox gmta greasemonkey hundesitter ie6 internet explorer investing java javascript jedit jquery konstellation linux myc4 osx personal python rants safari silly sourceforge the move timetrack tips and tricks ui widget

Blogroll

Business