[jbosstools-issues] [JBoss JIRA] (JBDS-2663) Installer cannot find unpack200.exe due to spaces in JDK path on Windows 8

Nick Boldt (JIRA) jira-events at lists.jboss.org
Mon Nov 4 12:16:02 EST 2013


     [ https://issues.jboss.org/browse/JBDS-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBDS-2663:
-----------------------------

    Workaround Description: 
Install java into a path without spaces, such as c:\jdk6. 
Ensure this java is in the $PATH before the one in "c:\Program Files".
Run the installer using that JDK so that unpack200.exe can be found.
*or*
Run the installer with the full shortnamed path to the JRE:
{code}c:\Progra~1\java\jre7\bin\java -jar jbdevstudio-*.jar{code}



  was:
Install java into a path without spaces, such as c:\jdk6. 

Ensure this java is in the $PATH before the one in "c:\Program Files".

Run the installer using that JDK so that unpack200.exe can be found.


    
> Installer cannot find unpack200.exe due to spaces in JDK path on Windows 8
> --------------------------------------------------------------------------
>
>                 Key: JBDS-2663
>                 URL: https://issues.jboss.org/browse/JBDS-2663
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: installer, upstream
>    Affects Versions: 7.0.0.Beta2
>         Environment: Windows 8, Oracle JRE 1.6 x86_64/x86
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 7.1.0.CR1
>
>
> {code}C:\Users\alena\Downloads>java -jar jbdevstudio-product-universal-7.0.0.Beta2-B26
> 1.jar
> 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(Unknown Source)
>         at com.izforge.izpack.util.LibraryRemover.<init>(Unknown Source)
>         at com.izforge.izpack.util.LibraryRemover.invoke(Unknown Source)
>         at com.izforge.izpack.util.Librarian.cleanUp(Unknown Source)
>         at com.izforge.izpack.util.Housekeeper.shutDown(Unknown Source)
>         at com.izforge.izpack.installer.InstallerFrame.exit(InstallerFrame.java:
> 1161)
>         at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionP
> erformed(InstallerFrame.java:1562)
>         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
> ce)
>         at java.awt.Component.processMouseEvent(Unknown Source)
>         at javax.swing.JComponent.processMouseEvent(Unknown Source)
>         at java.awt.Component.processEvent(Unknown Source)
>         at java.awt.Container.processEvent(Unknown Source)
>         at java.awt.Component.dispatchEventImpl(Unknown Source)
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>         at java.awt.Component.dispatchEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>         at java.awt.Container.dispatchEventImpl(Unknown Source)
>         at java.awt.Window.dispatchEventImpl(Unknown Source)
>         at java.awt.Component.dispatchEvent(Unknown Source)
>         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>         at java.awt.EventQueue.access$400(Unknown Source)
>         at java.awt.EventQueue$2.run(Unknown Source)
>         at java.awt.EventQueue$2.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
> Source)
>         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
> Source)
>         at java.awt.EventQueue$3.run(Unknown Source)
>         at java.awt.EventQueue$3.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
> Source)
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>         at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
> e file specified
>         at java.lang.ProcessImpl.create(Native Method)
>         at java.lang.ProcessImpl.<init>(Unknown Source)
>         at java.lang.ProcessImpl.start(Unknown Source)
>         ... 47 more{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list