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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

86 views 0 6
Read article

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