Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can the error be fixed. No changes made & similar problem solutions never worked Bitbucket5.10.1

[XX@XXX bin]# ./start-bitbucket.sh
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Edit set-jre-home.sh and define JRE_HOME

Startup has been aborted

1 answer

0 votes
Alexis Robert Community Leader Apr 17, 2020

Hi @nancy_d_matthews , 

 

the error message says to check the JRE_HOME setting in set-jre-home.sh file, can you have a look at it and make sure it's the correct value ? 

 

Let me know if this helps, 

 

--Alexis

Yes!

This has been working and until yesterday as I try to start the server.

The PATH is set to the jre home inside the bitbucket folder.

JRE_HOME="/home/appadmin/atlassian/bitbucket/5.10.1/jre/bin"

 

And others like tomcat uses:

$JAVA_HOME =/app/appadmin/java1.8/jre1.8.0_231

Alexis Robert Community Leader Apr 17, 2020

Hi @nancy_d_matthews , 

 

did you change anything since yesterday ? From what I can see the JRE_HOME is correctly set but it might be because the JRE location has changed.

Also, can you let me know how you're starting Bitbucket ? Is it from the command line, or a init.d script or something else ? 

 

--Alexis

Nothing has been changed.

I use ./start-bitbucket.sh from the command line on the bin directory for the start.

Alexis Robert Community Leader Apr 19, 2020

Can you check what is defined for JRE_HOME in the set-jre-home.sh file ? and also, what is the result of 

echo $JRE_HOME

This will help identify the issue.

 

Thanks, 

 

--Alexis

Like nancy_d_matthews likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

485 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you