Forums

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

Bitbucket service fails to start after install, bundled JRE not loaded

john-perry
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 25, 2016

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!

1 answer

1 accepted

2 votes
Answer accepted
Vishnu Reddy K
Contributor
October 25, 2016

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events