How to run Jira Server on AdoptOpenJDK

Still need help?

The Atlassian Community is here for you.

Ask the community


This article only applies to Atlassian's server products. Learn more about the differences between cloud and server.





Problem

How do I run JIRA on AdoptOpenJDK?

When installing JIRA 7.13.1 (or higher) you can set it up to run on AdoptOpenJDK (version 8)

  • set up AdoptOpenJDK version 8

  • edit <jira_install_dir>/bin/setenv.sh to update/add the environment variables

  • start up Jira

The following appears in the <jira_install_dir>/bin/setenv.sh on line 1:

JAVA_HOME=""

The JAVA_HOME variable can be set in setenv.sh to control which JDK will be used when running Jira.

Configuration

Environment

  • Download the correct Adopt OpenJDK version 8 archive for your operating system, for ex. Linux x64

  • Extract the archive into a system folder, optionally set JAVA_HOME to the extracted folder path (if you will use OpenJDK as default on system), and add the <openjdk_folder>/bin to the PATH variable

Edit setenv.sh

Resolution

Start up JIRA after doing the configuration above and check that it is starting up correctly and responding as expected.


DescriptionHow to run JIRA Server on Adopt OpenJDK
ProductJIRA Server, JIRA Data Center
Last modified on Feb 1, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.