Updating Java Version for existing Bamboo Instance

We're looking to update java versions on the machines running our Bamboo instance.  Are there any things we should be looking out for or struggles anybody encountered, or was it as easy as it seems like it'd be?

3 answers

Well, one person's experience is anecdotal, but I had no issues.

 

Running Ubuntu, this is pretty much exactly what we did, besides the new AWS image stuff...

sudo su -
cd /home/ubuntu/
mkdir /opt/jdk-8u45
tar -xvf jdk-8u45-linux-x64.tar.gz -C /opt/jdk-8u45/
cd /opt/jdk-8u45/
mv jdk1.8.0_45/* ./
rmdir jdk1.8.0_45/
mkdir -p /usr/lib/jvm/jdk-8u45
cp -r /opt/jdk-8u45/* /usr/lib/jvm/jdk-8u45/
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-8u45/bin/java 1
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-8u45/bin/javac 1
update-alternatives --config java
update-alternatives --config javac
vim /etc/profile
added to /etc/profile:
export JAVA_HOME="/usr/lib/jvm/jdk-8u45"
export PATH=$JAVA_HOME/bin:$PATH
source /etc/profile
0 vote

Hello Erik,

Thank you for your inquire.

As per description provided, I am not sure if you are referring to Bamboo (behind the firewall) or Bamboo (cloud).

However, in case you are running – Bamboo (behind the firewall) – under a secure protocol, please make sure of adding the certificates required by your instance so you will continue on hitting https://bamboo.domain

Kind regards,
Rafael P. Sperafico
Atlassian Support

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,802 views 0 6
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