Skip to content

Instantly share code, notes, and snippets.

@benad
Created February 6, 2014 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benad/8849009 to your computer and use it in GitHub Desktop.
Save benad/8849009 to your computer and use it in GitHub Desktop.
Run jEdit in Retina Display mode on Mac OS X when Oracle JDK 1.7.0_51 is installed
#!/bin/bash
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java -client -Xss2m -Xms32m -XX:PermSize=32m -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=true -Dsun.zip.disableMemoryMapping=true -jar /Applications/jEdit.app/Contents/Resources/Java/jedit.jar
@benad
Copy link
Author

benad commented Feb 6, 2014

You may want to change "jdk1.7.0_51.jdk" if you install a newer JDK in the future. Also, you may want to adjust the memory parameters, lifted from NetBeans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment