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
ami-25f7ed4c
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

This widget could not be displayed.

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 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...

258 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