The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events