Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2663

Installer fails due to spaces in JDK path on Windows 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.0.0.Beta2
    • installer, upstream
    • None
    • Workaround Exists
    • Hide

      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:

      c:\Progra~1\java\jre7\bin\java -jar jbdevstudio-*.jar
      Show
      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: c:\Progra~1\java\jre7\bin\java -jar jbdevstudio-*.jar

      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

              nivologd@gmail.com Denis Golovin (Inactive)
              nivologd@gmail.com Denis Golovin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: