Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7888

If JAVA_HOME references an invalid version, start with the built-in version instead

    XMLWordPrintable

Details

    Description

      The Bitbucket Server 4.0.2 Linux .bin installer bundles JRE 1.8.0_60, however after installation completes the installer tries to start the instance using what is defined as JAVA_HOME. If JAVA_HOME is pointing to Java 1.7 the instance won't start because Java 1.8 is required.

      There's no point in packaging the required JRE if it's not used.
      Maybe the startup process could check if JAVA_HOME is pointing to 1.7 and:

      • If it is pointing to Java 1.7, use the JRE_HOME included in the package.
      • If it is pointing to Java 1.8, use JAVA_HOME.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fkraemer Felipe Kraemer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: