You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
[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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nothing has been changed.
I use ./start-bitbucket.sh from the command line on the bin directory for the start.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.