Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Updating Java Version for existing Bamboo Instance

Erik Stevens January 8, 2016

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

1 vote
Andy Norris January 8, 2016

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
1 vote
John Betz January 8, 2016

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

 

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 11, 2016

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
TAGS
AUG Leaders

Atlassian Community Events