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

Invalid Java Version '1.8.0.111' error in console when Java VM is not detected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.2.0.AM3
    • 10.2.0.AM3
    • platform-installer
    • None
    • devex #122 October 2016
    • 1
    • Hide

      EXEC: Uninstall Java
      EXEC: Start DevSuite Installer
      EXEC: On confimation page deselect and then select DevStuido
      ASSERT: No exception reported in DevTools console

      Show
      EXEC: Uninstall Java EXEC: Start DevSuite Installer EXEC: On confimation page deselect and then select DevStuido ASSERT: No exception reported in DevTools console
    • NEW

      When Java is not installed, installer use version from requirements-${platfrom}.json. Then during selecting/deselection DevStudio install validation for required Java VM item triggered and that fails with error because java version in requirements.json have wrong format

      C:\p\rh\dpi\node_modules\angular\angular.js:13920 TypeError: Invalid Version: 1.8.0.111
          at new SemVer (C:\p\rh\dpi\node_modules\semver\semver.js:293)
          at compare (C:\p\rh\dpi\node_modules\semver\semver.js:566)
          at Function.lt (C:\p\rh\dpi\node_modules\semver\semver.js:600)
          at Function.LT (version.js:44)
      

      at JdkInstall.validateVersion (jdk-install.js:119)

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

                Created:
                Updated:
                Resolved: