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

This widget could not be displayed.

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

 

This widget could not be displayed.

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
This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

162 views 1 3
Join discussion

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