Jira Software 7 Start - Java Check Version Problem

Hi,

I'm trying to start a new JIRA 7 Standalone installation but i'm having a few issues with the start-jira.sh.

The script doesn't detect my Java installation.

I'm having this message:

Using CATALINA_BASE: /root/atlassian/jira-software-7.0.4
Using CATALINA_HOME: /root/atlassian/jira-software-7.0.4
Using CATALINA_TMPDIR: /root/atlassian/jira-software-7.0.4/temp
Using JRE_HOME: /usr
Using CLASSPATH: /root/atlassian/jira-software-7.0.4/bin/bootstrap.jar:/root/atlassian/jira-software-7.0.4/bin/tomcat-juli.jar
Using CATALINA_PID: /root/atlassian/jira-software-7.0.4/work/catalina.pid
***********************************************************************************************************************
********** Wrong JVM version! You are running with .. but JIRA requires at least 1.8 to run. **********
***********************************************************************************************************************

This is what I receive when I check my Java version:

# java -version

openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)

 

2 answers

Check the JAVA_HOME variable in your "setenv.sh" which can be found in the bin directory. Make sure it's pointing to your JDK 1.8

I've checked and is correct. If you look at the result of checking the script, apparently it is not finding any version of the JVM.

This is because Atlassian/JIRA does not support using any JDK other than the Oracle one, and you are using OpenJDK. You can work around it by editing bin/check-java.sh as per https://jira.atlassian.com/browse/JRA-46152 but be aware that you may encounter issues with JIRA not functioning correctly due to differences in the JDK, and Atlassian will not support any issues that you have.

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

3,316 views 14 20
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