Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20189

Fix version comparison in ConfigurationGenerator.checkJavaVersion()

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      900
    • Sprint:
      nxFG 8.4.1

      Description

      This error appears with recent Java versions:

      ERROR [org.nuxeo.launcher.NuxeoLauncher] Could not run configuration:
      Nuxeo requires Java 1.8.0_40+ (detected 1.8.0_101). See 'jvmcheck' option to bypass version check.
      

      This is because org.nuxeo.launcher.config.ConfigurationGenerator.checkJavaVersion() badly compares the 3 digit versions.

      Workaround: launch server using command:

      LAUNCHER_DEBUG="-Djvmcheck=nofail" nuxeoctl start
      

      Same workaround in Windows:

      set LAUNCHER_DEBUG="-Djvmcheck=nofail" 
      nuxeoctl start
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h