Hello I installed Bitbucket server 4.10.1 on CentOS 6 in console mode. Bitbucket also installed the bundlet JRE.
However when I
service atlbitbucket start
I get
Atlassian Bitbucket does not support Java 1.6.0_31.
Please start the product with Java 8 or greater.
How can I tell Bitbucket to use the bundled JRE?
--------
Edit: solution
Vishnus question pointed us to the answer:
in
/home/atlbitbucket/.bash_profile
add
JAVA_HOME=/opt/atlassian/bitbucket/4.10.1/jre
PATH=$JAVA_HOME:$PATH:$HOME/bin
Thanks, Vishnu!