|These instructions are for Mac OS X 10.7.3 and later (those that can run Oracle's Java 7).|
|This assumes you have the Java 7 JDK installed from: http://www.oracle.com/technetwork/java/javase/downloads/index.html|
|When you download and install Minecraft.app into /Applications, you can control-click or right-click on the Minecraft.app file and "Show Package Contents".|
|Inside the "Contents" folder inside, there is a "Info.plist" file, which is plain text. Open this "Info.plist" file in a text editor of your choice and replace the contents with the "Info.plist" listed below.|
|Then open the Terminal and run the following commands:|
|This will create a blank text file called "LaunchGame" inside the Minecraft.app/Contents/MacOS folder.|
|Open the file and paste in the contents of the "LaunchGame" listed below.|
|Then run these commands in the Terminal:|
|mv /Applications/Minecraft.app/Contents/MacOS/LaunchGame.txt /Applications/Minecraft.app/Contents/MacOS/LaunchGame|
|chmod +x /Applications/Minecraft.app/Contents/MacOS/LaunchGame|
|As a last step - you should be able to double-click Minecraft.app and now it will launch using Java 7 (assuming it's installed). If you get an error message about an unknown developer, you may either have to adjust your Gatekeeper security settings in OS X or (easier) if you're an admin, you can just control-click / right-click on Minecraft.app and select "Open" and it will let you open the file successfully. Once you've done this once, double-click should work from that point on.|
|<?xml version="1.0" encoding="UTF-8"?>|
|<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">|
|<key>CFBundleShortVersionString</key> <string>MinecraftLauncher 1.0.1</string>|
|<key>CFBundleGetInfoString</key> <string>MinecraftLauncher 1.0.1 © Mojang Specifications, Inc, 2013</string>|
|<key>CFBundleIdentifier</key> <string>com.Mojang Specifications.Minecraft.Minecraft</string>|
I tried this, and it almost works. If I explicitly run LaunchGame from the terminal it will work, but if I double-click the Minecraft icon I will still get the message about downloading Java 6... I also tried deleting JavaApplicationStub from the MacOS folder, but there was no change at all.
I need the Minecraft icon to work properly because my kids want to launch it on their own, and they are not familiar with the terminal...
Still works fine with Java 8 on OS X 10.10. I wonder why changing the original required Java version in the plist to "1.8+" doesn't change anything. Besides, "1.6+" (original) should cover Java 8, too, shouldn't it? Looks like there's some more magic that somehow chooses which JRE to use.
buddard, your issue might be that MacOS checks the Info.plist file and finds the "Java" and assumes that you need Apple Java (6) and then sees that you don't have Apple Java installed so it puts up a dialog box and stops. If you change the "Java" to anything else (I suggest "JavaX"), MacOS won't know that you are trying to use Java and won't put up the dialog box. Then, LaunchGame will work.
If you want a more general purpose solution (not a Minecraft specific one like LaunchGame), you can check out https://github.com/tofi86/universalJavaApplicationStub here at GitHub.
I documented the process of using universalJavaApplicationStub for Minecraft on my blog:
Well, hmm. I can't get it to work with Java 8u60 on 10.10.5 with latest minecraft. The bootloader opens but I can't get the game to run. Here is what I see in the log when I try to 'Play'
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Launching game
Zulith, did you have Java 1.8.0 u40 and then upgrade to Java 1.8.0 u60? Perhaps /usr/bin/java is linked to u40 but it's already been removed and replaced by u60. It's trying to execute /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/bin/java even though it seems to use u60 in other areas.
When I run it in the terminal it just says
Date/Time: 2016-07-18 21:02:19.275 -0400
Interval Since Last Report: 19350 sec
Crashed Thread: Unknown
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
Binary images description not available
External Modification Summary:
Model: iMac5,1, BootROM IM51.0090.B09, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB, SMC 1.8f2
I'm having similar problems guys
Okay, finally got Minecraft working on my ancient Mac running OSX 10.7.5 (Lion, I believe, no I refuse to upgrade!).