java.io.IOException: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect

Jenkins JIRA | jagan kalluri | 5 years ago
  1. 0

    Build fails with Below errors.Same problem was there with 1.423 version and current version as well. Installing C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe [JDK_Installed] $ C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe /s '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\MyApps\Jenkins\tools\JDK_Installed\" /L \"C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe.install.log\"' The parameter is incorrect FATAL: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect java.io.IOException: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:698) at hudson.Launcher$ProcStarter.start(Launcher.java:329) at hudson.Launcher$ProcStarter.join(Launcher.java:336) at hudson.tools.JDKInstaller.install(JDKInstaller.java:230) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:128) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:150) at hudson.model.JDK.forNode(JDK.java:112) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:796) at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source)

    Jenkins JIRA | 5 years ago | jagan kalluri
    java.io.IOException: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect
  2. 0

    Build fails with Below errors.Same problem was there with 1.423 version and current version as well. Installing C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe [JDK_Installed] $ C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe /s '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\MyApps\Jenkins\tools\JDK_Installed\" /L \"C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe.install.log\"' The parameter is incorrect FATAL: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect java.io.IOException: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:698) at hudson.Launcher$ProcStarter.start(Launcher.java:329) at hudson.Launcher$ProcStarter.join(Launcher.java:336) at hudson.tools.JDKInstaller.install(JDKInstaller.java:230) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:128) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:150) at hudson.model.JDK.forNode(JDK.java:112) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:796) at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source)

    Jenkins JIRA | 5 years ago | jagan kalluri
    java.io.IOException: Cannot run program "C:\MyApps\Jenkins\tools\JDK_Installed\jdk.exe" (in directory "C:\MyApps\Jenkins\tools\JDK_Installed"): CreateProcess error=87, The parameter is incorrect
  3. 0

    LightTable can't find Java 8

    GitHub | 2 years ago | Dangthrimble
    java.io.IOException: CreateProcess error=2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error in executing "android" specific shell command from java program in windows

    Stack Overflow | 3 years ago | Anik
    java.io.IOException: CreateProcess error=2, The system cannot find the file specified
  6. 0

    Windows XP SP3 MySQL automatic backup error

    Stack Overflow | 5 years ago | zeddarn
    java.io.IOException: CreateProcess error=2, The system cannot find the file specified

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      CreateProcess error=87, The parameter is incorrect

      at java.lang.ProcessImpl.create()
    2. Java RT
      ProcessImpl.start
      1. java.lang.ProcessImpl.create(Native Method)
      2. java.lang.ProcessImpl.<init>(Unknown Source)
      3. java.lang.ProcessImpl.start(Unknown Source)
      3 frames