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!
HI Gokhan,
Can you please check the JAVA home in the bashrc profile of the user who is starting the process.It would have been hard coded in his profile which will be overrriden while starting the process
Thanks
Vishnu
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.