Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. 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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core

      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

            Unassigned Unassigned
            demog himanshu k
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: