Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I downloaded (atlassian-bitbucket-5.5.0.tar.gz) and installed it on a Linux box, side-by-side to my existing 5.2.2. When starting the server up, I am getting this message
-bash-4.2$ ./start-bitbucket.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Edit set-jre-home.sh and define JRE_HOME
It looks likes the new 5.5 image doesn't lay down jre. Can someone from Atlassian confirm if it is "by designed," a packaging bug or ..? The documentation doesn't seem to indicate any extra step regarding the missing jre: https://confluence.atlassian.com/bitbucketserver/upgrade-bitbucket-server-from-an-archive-file-779292682.html
Thanks
H
Hi Hao,
I just checked, it doesn't appear that this isn't new - you will need to install and configure the JRE yourself and then just make sure the JAVA_HOME variable is set, pointing to the JRE.
Cheers,
Christian
Premier Support Engineer
Atlassian
Hi Hao,
The installation guide does reference that Java needs to be installed when using the archive installation - Install Bitbucket Server on Linux from an archive file.
The guide you linked is for upgrading and assumes that you've already installed Java on the system.
If you choose to use the installer and Java is not detected, the jre folder will be created and Java installed there. Install Bitbucket Server on Linux
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.