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

Inconsistent message when JAVA_HOME not defined on Windows

    XMLWordPrintable

    Details

      Description

      1. on Windows install JDK
      2. retrieve the ZIP version and extract it
      3. issue java -version
        java version "1.8.0_121"
        Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
        Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
        
      4. observe java is in the PATH and returning the version
      5. start the nuxeoctl command
      6. observe it outputs a message saying it found the nuxeo.conf file defined in NUXEO_CONF and exits with error code 9009
        Found NUXEO_CONF = <YOUR_NUXEO_FOLDER>
        
      7. set the JAVA_HOME variable to the JDK folder
      8. start the nuxeoctl command
      9. observe it now works as expected

      Expected behavior: it should return a message saying the JAVA_HOME variable is not defined
      Note: without JAVA_HOME defined, nuxeoctl works fine on other OSes

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ffischer Frantz Fischer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: