Jira 7 *Wrong JVM Version!* Error

 

Jira 7 only wants to allow Oracle Java, when trying to use AdoptOpenJDK in Jira 7 and starting Jira, this message will appear:

You can override this by editing ‘bin/check-java.sh’ and replacing this line:

"$_RUNJAVA" -version 2>&1 | grep "java version" | (

With this:

"$_RUNJAVA" -version 2>&1 | grep -E "(openjdk|java) version" | (