Upgrading Java version for JIRA 6.2


Our JIRA instance currently have Java version 1.6 and we're running JIRA 6.2. We weren't aware that it wasn't the correct version to have on the machine for JIRA till a few days ago. So I've been spending a good amount of time over the past few days trying to upgrade the Java that JIRA is using to 1.7 instead of 1.6. I've changed the "JAVA_HOME" enviroment variable to use it, and that didn't work. I tried changing the enabled state of the 1.6 java version in Control Panel > Java and that didn't do it. I also changed the "path" enviroment variable to use the 1.7 Java but it's still not loading JIRA with the correct version.

I've done some research on this subject before coming here and I just can't seem to find a solution. What should I do?

EDIT: If it helps at all, we're running on a Windows 2008 server and JIRA is run as a service.


1 answer

1 accepted

1 votes
Eddie Webb Community Champion Apr 03, 2014

JIRA comes bundled with its own JRE assuming standalone. The JAVA_HOME value is set in the startup scripts to use that embedded JRE.

Why do you say its the wrong version?

You can force JIRA to use the system JRE, https://confluence.atlassian.com/display/JIRA/How+to+Use+System+JRE+Instead+of+Embedded+JRE

Alright I'll try and change that. See, we updated from 5 to 6.2 a few weeks ago, and it never changed the version of Java it was using. Perhaps I didn't copy something over that needed copied? I just extracted the atlassian-jira-6.2-standalone.zip and that was it.

Also that doesn't seem to work. the "JRE_HOME" variable isn't even in the setenv.bat anymore from the looks of it.

Because the version of java that JIRA is using is 1.6 where as it states here https://answers.atlassian.com/questions/270020/jira-6-2-version-is-slower-than-5-2-versionthat JIRA 6.2 was made for 1.7 and not 1.6. Yes it may work, but it hasn't been tested with 1.6.

Eddie Webb Community Champion Apr 03, 2014

@David- why do you think the version is wrong? The standalone installer is self-inclusive, and will use the 'right' jre. There's nothing to copy over or set.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,115 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot