It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

683 views 2 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you