Update JAVA for Confluence

I am running Confluence 5.1.2 which said that it is running JAVA 1.7.0_15.

I have installed the latest version of JDK to c:/software/JAVA/jdk_1.7.0_45 and set JAVA_HOME to this path and restarted the server. Confluence is still showing 1.7.0_15.

How do I get Confluence to pick up the newest version of JAVA?

1 answer

I have added

SET "JRE_HOME=C:\software\Java\jdk1.7.0_45\jre"

to setenv.bat. The new JDK is not showing up in confluence. Confluence is running as tomcat service in Windows. Does this use the setenv.bat?

Hi Brass,

Please change it via command line.

-Go to the confluence instalation directory and then run the below commond for tomcat 6:


-Now you will get one window and go to Java tab and browse thru jvm.dll like as:jdk1.7.0_45\jre\bin\server\jvm.dll

-Now java class path: browse through bootstrep.jar via confluence-std\bin



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,170 views 20 14
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