I followed the instructions here: https://confluence.atlassian.com/adminjiraserver073/installing-java-861253016.html but I get the following error when I run 'atlas-version':
ATLAS Version: 8.0.16
ATLAS Home: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16
ATLAS Scripts: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/bin
ATLAS Maven Home: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4
AMPS Version: 8.0.2
--------
Executing: /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4/bin/mvn --version -gs /Applications/Atlassian/atlassian-plugin-sdk-8.0.16/apache-maven-3.5.4/conf/settings.xml
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
I then followed Oracle's instructions for uninstalling the JRE and I get the same error.
This is how I'm setting my env in my shell config"
# env
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.0_91.jdk
export JAVA_HOME
export PATH=$PATH:$JAVA_HOME/bin
Not sure what else to try at this point.
Any suggestions?
Thanks