Incorrect error message when JAVA_HOME path is wrong

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Fix
    • Component/s: None
    • None

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      When JAVA_HOME is specified in bin/setenv.sh, but either does not exist or $JAVA_HOME/bin/java is not readable/executable by the JIRA user, we get a confusing error message:

      *************************************************************************************************************************************
      ********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
      *************************************************************************************************************************************
      

      To replicate:

      curl -sLO https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.3.0.tar.gz
      tar xf atlassian-jira-software-7.3.0.tar.gz
      cd atlassian-jira-software-7.3.0-standalone/
      JAVA_HOME=/totally/fake bin/catalina.sh run

            Assignee:
            Unassigned
            Reporter:
            Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: