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
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