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 votes

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 4 hours ago in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

11 views 0 1
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