java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application

Jenkins JIRA | himanshu k | 1 year ago
  1. 0

    Started by user anonymous Building in workspace C:\Program Files (x86)\Jenkins\jobs\demoTest1\workspace Installing JDK jdk-8u66-oth-JPR Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-windows-i586.exe Downloading 190122072bytes Installing C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe [hudson.model.JDK] $ "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress "INSTALLDIR=C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK" /L "C:\Program Files (x86)\Jenkins\tools\install8928602081782715644log" java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application 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:816) at hudson.Launcher$ProcStarter.start(Launcher.java:382) at hudson.Launcher$ProcStarter.join(Launcher.java:389) at hudson.tools.JDKInstaller.install(JDKInstaller.java:268) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:141) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) at hudson.model.JDK.forNode(JDK.java:143) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:358) at hudson.model.Run.getEnvironment(Run.java:2232) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:941) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1036) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 25 more Finished: FAILURE

    Jenkins JIRA | 1 year ago | himanshu k
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application
  2. 0

    [JENKINS-31329] Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application
  3. 0

    Started by user anonymous Building in workspace C:\Program Files (x86)\Jenkins\jobs\demoTest1\workspace Installing JDK jdk-8u66-oth-JPR Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-windows-i586.exe Downloading 190122072bytes Installing C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe [hudson.model.JDK] $ "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress "INSTALLDIR=C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK" /L "C:\Program Files (x86)\Jenkins\tools\install8928602081782715644log" java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application 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:816) at hudson.Launcher$ProcStarter.start(Launcher.java:382) at hudson.Launcher$ProcStarter.join(Launcher.java:389) at hudson.tools.JDKInstaller.install(JDKInstaller.java:268) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:141) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206) at hudson.model.JDK.forNode(JDK.java:143) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:358) at hudson.model.Run.getEnvironment(Run.java:2232) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:941) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1036) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 25 more Finished: FAILURE

    Jenkins JIRA | 1 year ago | himanshu k
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Program Files (x86)\Jenkins\tools\hudson.model.JDK"): CreateProcess error=193, %1 is not a valid Win32 application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    having trouble during initial build for project "gameoflife" when following "jenkins the definitive guide" by john ferguson

    Stack Overflow | 3 months ago | Tony Stark
    java.io.IOException: Cannot run program "C:\Users\Justin\.jenkins\tools\hudson.model.JDK\jdk.exe" (in directory "C:\Users\Justin\.jenkins\tools\hudson.model.JDK"): CreateProcess error=740, The requested operation requires elevation
  6. 0

    Build failes with jdk.exe intallation failure

    Google Groups | 5 years ago | jagankalluri
    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

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 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=193, %1 is not a valid Win32 application

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    4 frames
  3. Hudson
    AbstractBuild.getEnvironment
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:816)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:382)
    5. hudson.Launcher$ProcStarter.join(Launcher.java:389)
    6. hudson.tools.JDKInstaller.install(JDKInstaller.java:268)
    7. hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:141)
    8. hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
    9. hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
    10. hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
    11. hudson.model.JDK.forNode(JDK.java:143)
    12. hudson.model.AbstractProject.getEnvironment(AbstractProject.java:358)
    13. hudson.model.Run.getEnvironment(Run.java:2232)
    14. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:941)
    14 frames
  4. Hudson GIT plugin
    GitSCM.checkout
    1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1036)
    1 frame
  5. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.scm.SCM.checkout(SCM.java:485)
    2. hudson.model.AbstractProject.checkout(AbstractProject.java:1275)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
    3 frames
  6. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    1 frame
  7. Hudson
    Executor.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
    2. hudson.model.Run.execute(Run.java:1741)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    4. hudson.model.ResourceController.execute(ResourceController.java:98)
    5. hudson.model.Executor.run(Executor.java:410)
    5 frames