Can I add JDK 1.8 build capability to an existing stock image?

According to this, JDK 1.8 is now available in the Bamboo stock images as a Capability.  That's great!

If I already have my image all set up (with EBS, etc), is there a way to add JDK 1.8 to it without having to recreate everything?  

I currently have this:

EBS x86_64 (linux)

Default Elastic Image Configuration shipped with Bamboo
I see I can add Capabilities to the bottom, including Java, but I assume that /opt/jdk-8 will not exist on that ami, correct?  If true, is there way to just change the ami of my existing configuration, so I don't have to reconfigure it?  Some other way to do this?


1 answer

1 vote

Check the running instance - it may turn out that Java is already present in /opt . We've been shipping it for some time without making the capability public.


Yep - its there...just added JDK 1.8 capability to /opt/jdk-8. The only issue is that it is Update 31, and not the latest Update 40. Does that require a new Elastic Image altogether?

There are a couple of ways you could do this, the easiest way would be to use the instance setup script to download and unpack the JDK.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

212 views 6 8
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