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

Uninstaller shortcut launches JBDS instead of izpack uninstaller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.1.1.GA, 5.0.0.M5
    • 4.1.1.GA, 5.0.0.M4
    • installer
    • None
    • Workaround Exists
    • Hide

      1. Edit shortcut to launch javaw.exe instead of jbdevstudio.exe.

      2. Or, edit shortcut to launch the uninstaller jar itself.

      3. Or, double-click the uninstaller jar itself.

      Show
      1. Edit shortcut to launch javaw.exe instead of jbdevstudio.exe. 2. Or, edit shortcut to launch the uninstaller jar itself. 3. Or, double-click the uninstaller jar itself.
    • Depending on whether this gets fixed or documented, release notes may be needed.
    • Needs More Info

      Steps to repro:

      1. Install JBDS 4.1.1.CR2 (GA) or JBDS 5.0.0.M4 from any of these:

      jbdevstudio-product-win32-5.0.0.v201110271830R-H42-M4.jar
      jbdevstudio-product-eap-win32-5.0.0.v201110271830R-H42-M4.jar
      
      jbdevstudio-product-win32-4.1.1.v201110271900R-H748-GA.jar
      jbdevstudio-product-eap-win32-4.1.1.v201110271900R-H748-GA.jar
      

      2. Next, try to uninstall from the menu item, which tries to run this:

      C:\Users\nboldt\jbdevstudio-product-win32-4.1.1.v201110271900R-H748-GA\studio\jbdevstudio.exe -Dizpack.mode=privileged -jar "C:\Users\nboldt\jbdevstudio-product-win32-4.1.1.v201110271900R-H748-GA/Uninstaller\uninstaller.jar"
      

      3. The result is that JBDS is launched – seems the flags are simply ignored.

      4. Suggest that instead, we run this w/ the Run in folder left blank instead of set to the Uninstaller folder:

      "C:\Users\nboldt\jbdevstudio-product-win32-4.1.1.v201110271900R-H748-GA/Uninstaller\uninstaller.jar" 
       or
      java -jar "C:\Users\nboldt\jbdevstudio-product-win32-4.1.1.v201110271900R-H748-GA/Uninstaller\uninstaller.jar"
      

      That way the resulting leftovers are minimal – if we Run In the Uninstaller folder, it won't be deleted even if the [x] Force removal box is checked. Note too that with that box checked, the install folder, eg., "C:\Users\nboldt\jbdevstudio", is NOT deleted.

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: