Confluence 3.3 JAVA 1.7 Conflict Issue

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

This widget could not be displayed.

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.

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

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.

This widget could not be displayed.

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

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

This widget could not be displayed.

Dear Nic,

Thanks fot the Information.

Thanks

Amber

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

464 views 6 6
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