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:

tomcat6w//ES//<confucneServiceName>

-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

Thanks,

Pawan

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

311 views 11 10
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