Skip to content

Instantly share code, notes, and snippets.

@pudquick
Last active February 19, 2021 16:41
Show Gist options
  • Save pudquick/7518753 to your computer and use it in GitHub Desktop.
Save pudquick/7518753 to your computer and use it in GitHub Desktop.
Instructions on how to modify the Minecraft.app for OS X to work with Java 7 (without the need for 6). See the instructions in the "ReadMe" section.
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:
touch /Applications/Minecraft.app/Contents/MacOS/LaunchGame.txt
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">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key> <string>en</string>
<key>CFBundleName</key> <string>MinecraftLauncher</string>
<key>CFBundleVersion</key> <string>1.0.1</string>
<key>CFBundleShortVersionString</key> <string>MinecraftLauncher 1.0.1</string>
<key>CFBundleExecutable</key> <string>LaunchGame</string>
<key>CFBundlePackageType</key> <string>APPL</string>
<key>CFBundleSignature</key> <string>????</string>
<key>CFBundleGetInfoString</key> <string>MinecraftLauncher 1.0.1 © Mojang Specifications, Inc, 2013</string>
<key>CFBundleIconFile</key> <string>favicon.icns</string>
<key>CFBundleAllowMixedLocalizations</key> <true/>
<key>CFBundleInfoDictionaryVersion</key> <string>6.0</string>
<key>CFBundleIdentifier</key> <string>com.Mojang Specifications.Minecraft.Minecraft</string>
<key>LSHasLocalizedDisplayName</key> <true/>
<key>CFBundleDisplayName</key> <string>Minecraft</string>
<key>NSHighResolutionCapable</key> <true/>
</dict>
</plist>
#!/bin/bash
SCRIPTPATH=$(cd $(dirname $0);pwd -P)
/usr/bin/java -Xdock:icon="$SCRIPTPATH/../Resources/favicon.icns" -Xmx128m -jar "$SCRIPTPATH/../Resources/Java/Bootstrap.jar"
@tanuva
Copy link

tanuva commented Feb 24, 2015

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.

@dwhey
Copy link

dwhey commented Aug 14, 2015

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:
http://svexpertise.blogspot.com/2015/08/make-mac-minecraft-work-on-oracle-java.html

@Zulith
Copy link

Zulith commented Aug 19, 2015

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:20:56 INFO]: Minecraft Launcher 1.6.13 (through bootstrap 5) started on osx...
[03:20:56 INFO]: Current time is Aug 19, 2015 3:20:56 AM
[03:20:56 INFO]: System.getProperty('os.name') == 'Mac OS X'
[03:20:56 INFO]: System.getProperty('os.version') == '10.10.5'
[03:20:56 INFO]: System.getProperty('os.arch') == 'x86_64'
[03:20:56 INFO]: System.getProperty('java.version') == '1.8.0_60'
[03:20:56 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[03:20:56 INFO]: System.getProperty('sun.arch.data.model') == '64'
[03:20:56 INFO]: proxy == DIRECT
[03:20:56 INFO]: JFX is already initialized
[03:20:56 INFO]: Refreshing local version list...
[03:20:56 INFO]: Refreshing remote version list...
[03:20:56 INFO]: Refresh complete.
[03:20:56 INFO]: Loaded 1 profile(s); selected 'Zulithe'
[03:20:56 INFO]: Refreshing auth...
[03:20:56 INFO]: Logging in with access token
[03:21:04 INFO]: Getting syncinfo for selected version
[03:21:04 INFO]: Queueing library & version downloads
[03:21:04 INFO]: Download job 'Version & Libraries' started (16 threads, 31 files)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /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'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/mojang/realms/1.7.24/realms-1.7.24.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar for job 'Version & Libraries'... (try 0)
[03:21:04 INFO]: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Download job 'Resources' skipped as there are no files to download

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: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/mojang/realms/1.7.24/realms-1.7.24.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.2-nightly-20140822/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Attempting to download /Users/wildwood/Library/Application Support/minecraft/versions/15w33c/15w33c.jar for job 'Version & Libraries'... (try 0)
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar for job 'Version & Libraries': Local file matches local checksum, using that
03:21:05 INFO: Finished downloading /Users/wildwood/Library/Application Support/minecraft/versions/15w33c/15w33c.jar for job 'Version & Libraries': Used own copy as it matched etag

03:21:05 INFO: Launching game
03:21:05 INFO: Unpacking natives to /Users/wildwood/Library/Application Support/minecraft/versions/15w33c/15w33c-natives-1515311600816
03:21:05 INFO: Launching in /Users/wildwood/Library/Application Support/minecraft
03:21:05 INFO: Half command: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/bin/java -Xdock:icon=/Users/wildwood/Library/Application Support/minecraft/assets/objects/99/991b421dfd401f115241601b2b373140a8d78572 -Xdock:name=Minecraft -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Djava.library.path=/Users/wildwood/Library/Application Support/minecraft/versions/15w33c/15w33c-natives-1515311600816 -cp /Users/wildwood/Library/Application Support/minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/com/mojang/realms/1.7.24/realms-1.7.24.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.2-nightly-20140822/lwjgl-2.9.2-nightly-20140822.jar:/Users/wildwood/Library/Application Support/minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.2-nightly-20140822/lwjgl_util-2.9.2-nightly-20140822.jar:/Users/wildwood/Library/Application Support/minecraft/versions/15w33c/15w33c.jar net.minecraft.client.main.Main
[03:21:05 ERROR]: Couldn't launch game
java.io.IOException: Cannot run program "/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/bin/java" (in directory "/Users/wildwood/Library/Application Support/minecraft"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_60]
at com.mojang.launcher.game.process.direct.DirectGameProcessFactory.startGame(DirectGameProcessFactory.java:14) ~[launcher.jar:1.6.13]
at net.minecraft.launcher.game.MinecraftGameRunner.launchGame(MinecraftGameRunner.java:213) [launcher.jar:1.6.13]
at com.mojang.launcher.game.runner.AbstractGameRunner.onDownloadJobFinished(AbstractGameRunner.java:186) [launcher.jar:1.6.13]
at com.mojang.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:122) [launcher.jar:1.6.13]
at com.mojang.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:12) [launcher.jar:1.6.13]
at com.mojang.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:86) [launcher.jar:1.6.13]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_60]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method) ~[?:1.8.0_60]
at java.lang.UNIXProcess.(UNIXProcess.java:248) ~[?:1.8.0_60]
at java.lang.ProcessImpl.start(ProcessImpl.java:134) ~[?:1.8.0_60]
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ~[?:1.8.0_60]
... 11 more
03:21:05 INFO: Deleting /Users/wildwood/Library/Application Support/minecraft/versions/15w33c/15w33c-natives-1515311600816

@dwhey
Copy link

dwhey commented Sep 14, 2015

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.

@twinec
Copy link

twinec commented Jul 18, 2016

When I run it in the terminal it just says
Error: Unable to access jarfile /Applications/Minecraft.app/Contents/MacOS/../Resources/Java/Bootstrap.jar
logout

[Process completed]
and when I open it in applications, it says
Process: launchd [430]
Path: /Applications/Minecraft.app/Contents/MacOS/launcher
Identifier: com.mojang.minecraftlauncher
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [125]

Date/Time: 2016-07-18 21:02:19.275 -0400
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9

Interval Since Last Report: 19350 sec
Crashes Since Last Report: 17
Per-App Crashes Since Last Report: 5
Anonymous UUID: F0E202FB-C38A-4FF6-8C62-2100CAC60FA9

Crashed Thread: Unknown

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff5fc01028

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x0000000000000055 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000000000000
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00007fff5fc01028 rfl: 0x0000000000010203 cr2: 0x00007fff5fc01028
Logical CPU: 0

Binary images description not available

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 673
thread_create: 0
thread_set_state: 0

Model: iMac5,1, BootROM IM51.0090.B09, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB, SMC 1.8f2
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F7F7F510000, 0x36345431323830323145444C335342322020
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz, 0x7F7F7F0B00000000, 0x4E5431475436345538484230424E2D334320
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (5.10.131.36.15)
Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC WD1600AAJS-60M0A0, 160.04 GB
Parallel ATA Device: PIONEER DVD-RW DVR-K06
USB Device: Built-in iSight, apple_vendor_id, 0x8501, 0xfd400000 / 2
USB Device: Hub in Apple Extended USB Keyboard, apple_vendor_id, 0x1003, 0x5d100000 / 2
USB Device: Apple Optical USB Mouse, apple_vendor_id, 0x0304, 0x5d110000 / 4
USB Device: Apple Extended USB Keyboard, apple_vendor_id, 0x020b, 0x5d130000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8206, 0x7d100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8240, 0x7d200000 / 3

@Delfite
Copy link

Delfite commented Nov 16, 2016

I'm having similar problems guys
Here's what my console says when I click on minecraft:
Last login: Wed Nov 16 10:45:02 on ttys000
FerdTrekampsMBP:~ ferdtrenkamp$ /Applications/Minecraft.app/Contents/MacOS/launcher ; exit;
2016-11-16 10:45:04.632 launcher[3581:146926] Claimed it found a path: /Applications/Minecraft.app/Contents/MacOS/launcher () 4096

@nseet
Copy link

nseet commented Jun 14, 2017

Okay, finally got Minecraft working on my ancient Mac running OSX 10.7.5 (Lion, I believe, no I refuse to upgrade!).
The solution is to forget all of the above github, which did not work at all (missing bootstrap.jar, launcher exit, etc.), oh, except, do install the latest Java from Oracle (not Apple): http://www.oracle.com/technetwork/java/javase/downloads/index.html
What worked for me was to go to mc-launcher.com, click on Minecraft, click the Uncompressed MacOS jar file download. Click Skip Ad in the top right (the popups and main page are all spam!) and you will get TLauncher-MC.jar in Downloads. Double click it, open it, DO NOT install the java runtime for OSX from Apple if prompted, (install the one from Oracle), click Install and Enter, create an account by clicking the green plus sign (or add your existing mojang account), (I unchecked the elyby skins). Click Save Account. Click the Home icon in the bottom right. Then Install and Enter. That's it!

@HarperGaming
Copy link

I'm using an early 2007 MacBook I've tried using this method on other apps and it bounces the app up once and then quits unexpectedly I think I know why correct me if im wrong but its a 64 bit app im trying to run and its a 86x64 system

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