Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When, during upgrade, should Java be re-installed?

Chris Riley
Contributor
December 20, 2016

This question is in reference to Atlassian Documentation: Upgrading Confluence

In reference to this page on upgrading to 6.0.1: https://confluence.atlassian.com/doc/upgrading-confluence-4578.html...

We are currently running Confluence 5.5.2 on Java 1.7. When we upgrade to 6.0.1 soon, we will have to switch to Java 1.8.

At what point in the upgrade path process should we install Java 1.8?

Will 6.0.1 immediately look for 1.8, or will we have to re-configure something in order for 6.0.1 to use Java 1.8?

Much thanks,

Chris

4 answers

0 votes
MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 21, 2016

The process that is Confluence 6.x should be using Java 1.8. Whether it comes from an installer or you install the JDK yourself.

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2016

Chris, if you're using the Confluence Linux 64 Bit, that IS the installer. You can't run EXE's on Linux so that's a moot point, but the Linux 64 Bit is a script that sets up your dependencies and includes JAVA. If you use the Linux 64 Bit installer then you can safely ignore steps related to upgrading JAVA.

If you're installing with the tar archive, then you WILL need to take down Confluence, upgrade JAVA_HOME, then run Confluence from the new installation directory.

Chris Riley
Contributor
December 20, 2016

Much thanks, Steve.

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2016

No sweat! smile

0 votes
Chris Riley
Contributor
December 20, 2016

Steve, our OS is Linux for current install (Confluence 5.5.2), and will remain Linux when we upgrade to 6.0.1. We'll be using either Confluence Linux 64 Bit, or TAR.GZ Archive to upgrade, not the EXE installer.

Then, from your answer, we'll have to install 1.8 before the upgrade, and then update the JAVA_HOME path. My follow-up question is, should we update JAVA_HOME before, or after running the upgrade? I'm thinking it doesn't really matter, as long as we update the path before starting up the app again...

Thanks,

Chris

 

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2016

How are you setting up and installing the app? What OS?

If it's with the Installer package, you shouldn't need to manage JAVA by yourself. If it's via the Archive/Zip/Tar method, then you WILL need to update java and update the JAVA_HOME path.

If you're using the Confluence installer, you do not need to install Java manually.

https://confluence.atlassian.com/doc/installing-java-for-confluence-144212101.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events