need to update Java to 8 u 152
Asked by Daniel Hicks:

I need to update Java to 8 u152 on a Windows Server 2012R2 that run Confluence 6.3.1. Is this version of Confulence supported by java 8 u152?

thank you


Answers:
author: AnnWorley
body: Following up for the sake of posterity:

We were able to start Confluence as a service after setting the JRE_HOME environment variable (the JRE and not the JDK was installed) and reinstalling the Windows service. Here are the docs used: [Setting the JAVA_HOME Variable in Windows](https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html) and [Start Confluence Automatically on Windows as a Service](https://confluence.atlassian.com/doc/start-confluence-automatically-on-windows-as-a-service-172071.html)

Before we could get to the bottom of the TLS errors Daniel experienced accessing Atlassian's knowledge base, something changed and he was able to open the links.


author: Nic Brough -Adaptavist-
body: Could you explain what you have done to change the version of Java, and what the errors you get were when you tried to start it? Define "confluence still does not work" in more detail.


author: AnnWorley
body: Yes, Java 8 u152 is a supported platform for Confluence 6.3.x. Here are the supported platforms for Confluence 6.3.x for future reference: [Supported Platforms](https://confluence.atlassian.com/conf63/supported-platforms-929730053.html)

comments: author: Daniel Hicks
body: I tried the link you provided but it is blocked as the site uses an old version of TLS 1 or 2. Can you provide a site that uses the latest encryption settings.

I really need to see some of the documentation on how the update is supposed to be installed. I ran it out of the box and it broke my site. That took 3 hours to restore.

Thank you,


author: AnnWorley
body: I am checking with our security team about our SSL settings for our knowledge base.

In the meantime, here are the instructions for installing Java on Windows:[Installing Java for Confluence](https://confluence.atlassian.com/conf63/installing-java-for-confluence-929730008.html):
> **Installing the JDK on Windows**
>
> Before you start, go to Control Panel \> Programs and Features to check whether a JDK is already installed.
>
> To install the JDK on Windows:

1.
   > Download the appropriate JDK version.
2.
   > Check the Supported Platforms page to find out which JDK / JRE versions are supported for your version of Confluence.
3.
   > Run the Java installer. Make a note of the installation directory, as you'll need this later.
4.
   > Once the Java installation is complete, check that the JAVA_HOME environment variable has been set correctly.
5.
   > Open a command prompt and type echo %JAVA_HOME% and hit Enter.
6.
   > If you see a path to your Java installation directory, the JAVA_Home environment variable has been set correctly.If nothing is displayed, or only %JAVA_HOME% is returned, you'll need to set the JAVA_HOME environment variable manually. [See Setting the JAVA_HOME Variable in Windows](https://confluence.atlassian.com/conf63/setting-the-java_home-variable-in-windows-929730009.html) for a step by step guide.

The JAVA_HOME directions have screen shots and a lot of details - can you access that link?

As I was typing this, Security came back to say that you should only be getting an old TLS version if you are using an older browser. The suggestion is maybe Windows 2012 has that enhanced security on that blocks almost everything...?

It was suggested that I share this report with you as well:

[https://www.ssllabs.com/ssltest/analyze.html?d=confluence.atlassian.com\&s=54.192.142.190\&latest](https://www.ssllabs.com/ssltest/analyze.html?d=confluence.atlassian.com&s=54.192.142.190&latest)


author: Daniel Hicks
body: I have checked the java_home env variable and it points to the correct java version. confluence still does not work.