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

164 views
Skip to first unread message

himanshu k

unread,
Oct 31, 2015, 3:46:16 PM10/31/15
to Jenkins Users
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

Mark Waite

unread,
Oct 31, 2015, 3:57:18 PM10/31/15
to Jenkins Users
I'm glad you're using Jenkins.  That's great.  However, a stack trace in an e-mail message is not a question.  Please review http://www.catb.org/esr/faqs/smart-questions.html#before and http://www.catb.org/esr/faqs/smart-questions.html#asking to prepare yourself to ask good questions, and even to possibly answer your own question before you post it to a mailing list.

At a minimum, you'll need to describe the steps you took to reach that message, the settings you're using, and the alternatives you've tried.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/64169d7c-819c-4993-bd6a-189606c10415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages