I set JIRA_HOME="/etc/alternatives/jre/" in bin/setenv.sh
When starting the service i get the following error message:
Wrong JVM version! You are running with openjdk version "11.0.1" 2018-10-16 LTS but JIRA requires at least 1.8 to run
"/etc/alternatives/jre" is a symlink to "/usr/lib/jvm/java-11-openjdk-184.108.40.206-3.el7_6.x86_64"
the "java" executable is therefore located at "/usr/lib/jvm/java-11-openjdk-220.127.116.11-3.el7_6.x86_64/bin/java"
Currently, you are going to want to use the AdoptOpenJDK 8 (HotSpot) as openJDK 11 is not fully recognized yet, and as of 7.13.0 it is not fully tested and verified so there could still be conflict points. It is not yet officially supported as covered in the Jira 7.13 Supported Platforms documentation.
Then keep an eye on https://jira.atlassian.com/browse/JRASERVER-41589, for an update on Java 11 noting the most recent update in the section "Atlassian Update – 22 August 2018":
Thank you for your insights and thoughts on this issue.
We've recently posted an update regarding this topic on community for all Atlassian Server & Data Center products.
We'll provide further updates on the progress of work for supporting OpenJDK 11 for Jira within the next few months.
Jira Product Management
This fails for us on 7.13.3 when using OpenJDK 1.8.0.
[m26560@etc-jira-dev ~]$ /usr/lib/jvm/java-1.8.0-openjdk/bin/java -version
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
The failure comes when $JIRA_HOME/bin/check-java.sh runs because it is hardcoded to look for the string "java" in the output of that command. The line of code in check-java.sh is:
"$_RUNJAVA" -version 2>&1 | grep "java version" | ...
As you can see from the terminal paste above, the string for OpenJDK is "openjdk"
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event