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.
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
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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
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!
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