Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Java version detection not working correctly

I followed the steps from@Jakub Lazinski

I set JIRA_HOME="/etc/alternatives/jre/" in bin/

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

System details:

  • CentOS 7 (up-to-date)
  • atlassian-jira-software-7.13.0-x64
  • PostgreSQL 9.6
  • OpenJDK 11 (java-11-openjdk-

"/etc/alternatives/jre" is a symlink to "/usr/lib/jvm/java-11-openjdk-"

the "java" executable is therefore located at "/usr/lib/jvm/java-11-openjdk-"

2 answers

1 accepted

1 vote
Answer accepted


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, for an update on Java 11 noting the most recent update in the section "Atlassian Update – 22 August 2018":

Hi everyone,

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.

Please read it here →

We'll provide further updates on the progress of work for supporting OpenJDK 11 for Jira within the next few months.

Kind regards,
Jira Product Management


Many thanks!

Switching to "java-1.8.0-openjdk.x86_64" worked for me.

I'll keep waiting for the support of OpenJDK 11 :)

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)
[m26560@etc-jira-dev ~]$

The failure comes when $JIRA_HOME/bin/ runs because it is hardcoded to look for the string "java" in the output of that command. The line of code in is:

"$_RUNJAVA" -version 2>&1 | grep "java version" | ...

 As you can see from the terminal paste above, the string for OpenJDK is "openjdk"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

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...

4,544 views 22 32
Read article

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you