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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

727 views 6 13
Read article

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