[jbosstools-issues] [JBoss JIRA] (JBDS-4165) Invalid Java Version '1.8.0.111' error in console when Java VM is not detected

Denis Golovin (JIRA) issues at jboss.org
Mon Nov 7 14:45:00 EST 2016


Denis Golovin created JBDS-4165:
-----------------------------------

             Summary: Invalid Java Version '1.8.0.111' error in console when Java VM is not detected
                 Key: JBDS-4165
                 URL: https://issues.jboss.org/browse/JBDS-4165
             Project: Red Hat JBoss Developer Studio (devstudio)
          Issue Type: Bug
    Affects Versions: 10.2.0.AM3
         Environment: Windows
            Reporter: Denis Golovin
            Assignee: Denis Golovin
             Fix For: 10.2.0.AM3


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

{code}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)
{code}
    at JdkInstall.validateVersion (jdk-install.js:119)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list