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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

818 views 2 19
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