Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Move from Oracle JDK to Adoptium

My management has asked that I look into moving both our Confluence (7.15.1) and Bitbucket (7.20.0) Server installs from using the Oracle JDK to using the bundled Adoptium JDK for financial reasons.  Can someone point me to any documentation relevant to this task because I haven't been able to find any in my searching.  Is it as easy as un-installing the Oracle Java?

1 answer

1 vote

You'll need to ensure that the environment paths are updated for the new Java, so the users running your services use the new one, but yes, it is as simple as un-installing the Oracle Java.

So, to clarify, I can manually install the AdoptiumOpenJDK (can't see it anywhere on our server to be able to update the environment variables, and from my understanding, the Adoptium is only installed from the bundle IF there is no other JDK, correct me if I'm wrong).  I can then update the path (environment) variables, turn off or uninstall the Oracle Java services and then start my Confluence and Bitbucket services and all should be good?

Yes, that's correct.

Just sharing some Confluence documents about what Nic mentioned.
Similar concept applies to Bitbucket.

Installing Java for Confluence 

Change the Java vendor or version Confluence uses

Kind regards,
Thiago Masutti

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

204 views 1 4
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