Forums

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

Confluence 3.3 JAVA 1.7 Conflict Issue

Amber Garg November 18, 2013

Dear Team,

Currently I'm Using Confluence 3.3 with JAVA version 1.7 with current JAVA Some plugins are not working, So I want to use JAVA 1.6. Can you please tell in confluence where I can define the JAVA 1.6 Path & also doing this will affect My Confluence Site.

Thanks

Amber

3 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
November 18, 2013

It depends on how you have installed and configured Confluence. You don't change the version of Java inside Confluence - it's set up for the application server that is going to be running your Confluence and those generally take the setting from the environment.

You'll need to look at the installation instructions for your Confluence version on the Operating System you are running and work out where the app server is getting it from.

As for the effects, I'd suspect your Confluence will continue to run ok - it's old enough that it was written to run under Java 1.6, and so old that your plugins will be similarly built.

I'd seriously recommend upgrading though - your Confluence is unsupported, and you really should be running Java 1.7.

Amber Garg November 18, 2013

Thanks Nic, Actually JAVA Path is not Set on server by deafault confluence is taking from /usr/java/ Can I change the same somewhere in confluence startup script.

Thanks

Amber

Nic Brough -Adaptavist-
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.
November 18, 2013

If $JAVA_HOME is not set by default, then part of the startup for Confluence is working out where it is (or making assumptions) and you need to fix that.

Start with a look in the setenv.sh file which should be in the /bin directory under your Confluence installation directory.

0 votes
Amber Garg November 18, 2013

Dear Nic,

Thanks fot the Information.

Thanks

Amber

0 votes
JohnA
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.
November 18, 2013

Hi Amber,

Confluence 3.3 and Java 1.7 aren't compatible at all so you will certainly nee to downgrade to Java 1.6 as you are planning. Once you have installed the new JDK you then need to reset your $JAVA_HOME variable to point it at the new 1.6 JDK, which you can do by following the instructions in this document: https://confluence.atlassian.com/display/DOC/Installing+Java+for+Confluence

All the best,
John

Amber Garg November 18, 2013

Dear John,

Thanks but when i do echo $JAVA_HOME Nothing is displayed & when confluence process is start it takes Java Path defualt from /usr, can you please tell me that /usr in confluence where it is defined & also I'm having 10 User Installed Plugin after that JAVA downgrade it will work fine. Please Assist.

Thanks

Amber

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events