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

java.io.IOException: CreateProcess error=2, The system cannot find the file specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.3.3
    • None
    • None
    • Windows 7
      Java versions: 7, update 40
    • Unconfirmed

      Solution

      Caused by broken Java installation.
      Download and install the Minecraft Installer from https://minecraft.net/download


      Click "Edit Profile" and uncheck the Executable box
      (courtesy of cubethethird)


      Strange launch failure happening. No crash report, just a refusal to play. Previously I was getting the Java SE error, but I cleaned out my old Java and got the latest, now this happens.

      Refreshing local version list...
      Launcher 1.2.5 (through bootstrap 5) started on windows...
      Current time is Oct 1, 2013 4:26:31 PM
      System.getProperty('os.name') == 'Windows 7'
      System.getProperty('os.version') == '6.1'
      System.getProperty('os.arch') == 'x86'
      System.getProperty('java.version') == '1.7.0_40'
      System.getProperty('java.vendor') == 'Oracle Corporation'
      System.getProperty('sun.arch.data.model') == '32'
      Refreshing remote version list...
      Refresh complete.
      Loaded 1 profile(s); selected 'Cubes4THEWIN'
      Refreshing auth...
      Logging in with access token
      Delta time to compare resources: 670 ms 
      Download job 'Resources' skipped as there are no files to download
      Job 'Resources' finished successfully
      Getting syncinfo for selected version
      Queueing library & version downloads
      Download job 'Version & Libraries' started (8 threads, 19 files)
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar for job 'Version & Libraries': Used own copy as it matched etag
      Finished downloading C:\Users\Blake Pereira\AppData\Roaming\.minecraft\versions\1.6.4\1.6.4.jar for job 'Version & Libraries': Used own copy as it matched etag
      Job 'Version & Libraries' finished successfully
      Launching game
      Looking for old natives to clean up...
      Unpacking natives to C:\Users\Blake Pereira\AppData\Roaming\.minecraft\versions\1.6.4\1.6.4-natives-2353396448977
      Launching in C:\Users\Blake Pereira\AppData\Roaming\.minecraft
      Running C:\Program Files\Java\jre6\bin\javaw.exe -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -Djava.library.path=C:\Users\Blake Pereira\AppData\Roaming\.minecraft\versions\1.6.4\1.6.4-natives-2353396448977 -cp C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\Blake Pereira\AppData\Roaming\.minecraft\versions\1.6.4\1.6.4.jar net.minecraft.client.main.Main --username Cubes4THEWIN --session token:4ac3f2d3f0304cabb7856e8a13909325:7e9a356ada1a49848fc717c2a5bccdd6 --version 1.6.4 --gameDir C:\Users\Blake Pereira\AppData\Roaming\.minecraft --assetsDir C:\Users\Blake Pereira\AppData\Roaming\.minecraft\assets
      Couldn't launch game
      java.io.IOException: Cannot run program "C:\Program Files\Java\jre6\bin\javaw.exe" (in directory "C:\Users\Blake Pereira\AppData\Roaming\.minecraft"): CreateProcess error=2, The system cannot find the file specified
      	at java.lang.ProcessBuilder.start(Unknown Source)
      	at net.minecraft.launcher.process.JavaProcessLauncher.start(JavaProcessLauncher.java:25)
      	at net.minecraft.launcher.GameLauncher.launchGame(GameLauncher.java:285)
      	at net.minecraft.launcher.GameLauncher.onDownloadJobFinished(GameLauncher.java:507)
      	at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:112)
      	at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:10)
      	at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:84)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
      	at java.lang.ProcessImpl.create(Native Method)
      	at java.lang.ProcessImpl.<init>(Unknown Source)
      	at java.lang.ProcessImpl.start(Unknown Source)
      	... 12 more
      
      Deleting C:\Users\Blake Pereira\AppData\Roaming\.minecraft\versions\1.6.4\1.6.4-natives-2353396448977
      

      What I expected to happen was...:
      for the game to play

      What actually happened was...:
      Nothing

      Steps to Reproduce:
      1. Turn on minecraft.
      2. Auto-login.
      3. Hit play button.

            Unassigned Unassigned
            reaper101 Ernest Blake Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: