Created
March 18, 2012 21:32
-
-
Save fwenzel/2081650 to your computer and use it in GitHub Desktop.
Switch out Minecraft's Java Application Stub on OSX Lion and force 64bit mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Thank you, StackExchange: http://gaming.stackexchange.com/questions/44822/64-bit-java-not-recognized-in-minecraft | |
gzip /Applications/Minecraft.app/Contents/MacOS/JavaApplicationStub # save a backup | |
cp /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub /Applications/Minecraft.app/Contents/MacOS/ | |
/usr/libexec/PlistBuddy -c "Add :Java:JVMArchs:0 string 'x86_64'" /Applications/Minecraft.app/Contents/Info.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!
I had trouble getting MagicLauncher to launch on 64-bit Lion - I found another recommendation to use a symbolic link to replace the JavaApplicationStub, but without updating the Info.plist I'd still be stuck scratching my head.