Wrong JVM version - JIRA

(OpenSUSE version 42.1)



I've downloaded JIRA and am trying to install it but it gives me the error: "Wrong JVM version! You are running with .. but JIRE requires a tleast 1.8 to run."


I download java for linux from the java website and went through the install process.


Here are the outputs of some commands, so you can see that it is installed and what path it's installed to:





I'm not sure if i've got those paths pointing to the right bits, this is what those paths look like:


I tried running update-alternatives --config java and I updated the selection to point to that java installation, as it was pointed to "/usr/java/latest/bin/java", though that's made no difference.

Having changed that, the output of java version is now:



At this point I'm not even sure if it's installed properly any more, or where I went wrong.


All I can tell from the check-java.sh file is that it's not getting the response it expects from "$_RUNJAVA" -version 2>&1 | grep "java version"


I've tried running that in the terminal, but $_RUNJAVA doesn't seem to do anything.


Can anyone advise what I need to do to get this all working?




1 answer

A few things. Your JVM can be overwritten by JAVA_HOME, do a


This is commonly overwritten in setenv.sh/catalina.sh (which resides in the same folder as the startup/shutdown.sh script for JIRA, or in other files that might set your envirornment on the server (think /etc/profile, ~/.profile, ~/.bashrc or similar)



I put a screenshot in the original post showing the result of JAVA_HOME, it's:


Java is installed there, but I'm not sure the paths are necessarily pointing to the correct directories (see screenshots), as I don't really know what I'm doing, I've just been trying to follow online examples.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot