| Summary: | java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Pavol Srna <psrna> |
| Component: | Installer | Assignee: | Miles Tjandrawidjaja <mtjandra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Srna <psrna> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 GA | CC: | jsedlace, mtjandra, psrna, soa-p-jira, thauser |
| Target Milestone: | ER2 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Hey Pavol, Could you please provide the steps to reproduce the bug. I've tried to emulate this using the jar from: http://dev138.mw.lab.eng.bos.redhat.com/candidate/soa-6.0.0.ER1/jboss-eap-6.1.0.soa.ci-installer.jar I was testing on Windows 7 Home Premium 64 bit. Thank you. Regards, Miles Tjandrawidjaja * Run `java -jar installer.jar` in console. Wizard will open. * Click on the very last button 'Done' in the installer wizard. * Check console for exception. I have used my private win7x86 machine. Thanks Pavol. The issue has been patched. http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=2a73be0871b291c5d8a60ba3e54e64c68b51a4b9 Verified in jboss-eap-6.1.0.soa.ci-installer.er2.jar |
Actual results: * Installer can finish successfully but the exception is thrown. Expected results: * Installer finish successfully and no exception is thrown. Stack trace: java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at com.izforge.izpack.util.LibraryRemover.initJavaExec(LibraryRemover.java:144) at com.izforge.izpack.util.LibraryRemover.<init>(LibraryRemover.java:111) at com.izforge.izpack.util.LibraryRemover.invoke(LibraryRemover.java:129) at com.izforge.izpack.util.Librarian.cleanUp(Librarian.java:687) at com.izforge.izpack.util.Housekeeper.shutDown(Housekeeper.java:124) at com.izforge.izpack.installer.InstallerFrame.exit(InstallerFrame.java:1329) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigate(InstallerFrame.java:1800) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$100(InstallerFrame.java:1765) at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(InstallerFrame.java:1782) 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) ... 14 more