Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

No JAVA_HOME variable detected even if defined.

Karim Ennassiri October 9, 2018

I'm trying to change the default database connector in Jira software. It is already installed, so I found that I can change the DB connector via the configsh script. When I try to lunch the script, I have a Jira error which tolds me that there is no JAVA HOME variable is defined. 

No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run java command
Wrong JVM version! You are running with java version "11" 2018-09-25.. but JIRA requires at least 1.8 to run

 Instead the variable is well defined : 

echo $JAVA_HOME
/opt/jdk/jdk-11

 And i think that Jira is not happy with the last version of Java too. 

Thank you for your help.

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2018

Hello,

Jira does not work with Java 11. You should either intall Java 8 or use the inbuild jre into Jira. Set the JAVA_HOME to the correct JVM

Karim Ennassiri October 9, 2018

I've installed Java 8 an it's working. Thanks

Suggest an answer

Log in or Sign up to answer