Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-4053

Error: Couldn't launch game on OS X 10.11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.6.44
    • None
    • None
    • Mac OS X El Capitan 10.11, Oracle Java 1.8 update 60 and Apple Java 1.6
    • Unconfirmed

      After installing from Minecraft.dmg I ran the launcher once. It went through the download process and Minecraft upgrade completed successfully.

      Minecraft launcher runs fine, at least from the command line.

      When I click Play, however, the process ends with an IOException.

      It appears that the launcher is looking for /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java, whereas after I installed Apple Java, the location is directly under /Library (no /System): /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java.

      Setting JAVA_HOME does not help:

      $ JAVA_HOME=/Library/Java/JavaVirtualMachines/1.6.0.jdk
      ...
      /Contents/Home /Applications/Minecraft.app/Contents/MacOS/launcher
      [19:55:12 INFO]: Minecraft Launcher 1.6.44 (through bootstrap 100) started on osx...
      [19:55:12 INFO]: Current time is Oct 3, 2015 7:55:12 PM
      [19:55:12 INFO]: System.getProperty('os.name') == 'Mac OS X'
      [19:55:12 INFO]: System.getProperty('os.version') == '10.11'
      [19:55:12 INFO]: System.getProperty('os.arch') == 'x86_64'
      [19:55:12 INFO]: System.getProperty('java.version') == '1.8.0_60'
      [19:55:12 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
      [19:55:12 INFO]: System.getProperty('sun.arch.data.model') == '64'
      ...
      [19:55:21 ERROR]: Couldn't launch game
      java.io.IOException: Cannot run program "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java" (in directory "/Users/diane/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.44]
      	at net.minecraft.launcher.game.MinecraftGameRunner.launchGame(MinecraftGameRunner.java:218) [launcher.jar:1.6.44]
      	at com.mojang.launcher.game.runner.AbstractGameRunner.onDownloadJobFinished(AbstractGameRunner.java:186) [launcher.jar:1.6.44]
      	at com.mojang.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:122) [launcher.jar:1.6.44]
      	at com.mojang.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:12) [launcher.jar:1.6.44]
      	at com.mojang.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:86) [launcher.jar:1.6.44]
      	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.<init>(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
      [19:55:21 INFO]: Deleting /Users/diane/Library/Application Support/minecraft/versions/1.8.8/1.8.8-natives-15001280838276
      
      

      Minecraft never actually runs.

            Unassigned Unassigned
            diane.craig Diane Craig
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: