Bitbucket 5.5.0 and missing "jre" folder


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$ ./
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
Edit 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:



1 answer

1 accepted

0 votes
Answer accepted

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.



Premier Support Engineer


Hi Christian,

Thanks for replying.  Is it documented somewhere? Read the documentation link above but apparently did not see it.



Jeff Thomas Atlassian Team Oct 31, 2017

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

Thanks Jeff & Christian.  I use the installer (.bin) and was able to continue with the upgrade to 5.5.0 fine.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

225 views 0 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you