how to change JIRA installation directory path?

I recently upgraded JIRA 6.2.7 to 6.4.11. Everything works fine but the problem is that my installation directory is still "atlassian-jira-6.2.7-standalone" as it was originally unpacked. I'd like to now change this to a generic, non-version-specific name. When I simply change the directory name JIRA won't start - there is no log, but I can see that the startup parms (CATALINA_BASE, HOME, etc.) all have the new directory path I am using except JRE_HOME - which still has the old (and now non-existent) path.

Is this simply a matter of upatting JRE_HOME somewhere, or is there a better way to do this? For example, is it a good idea to create a fresh installation of 6.4.11 in the new installation directory, and simply point the jira-application.properties to my existing jira.home?

 

Thank you.

3 answers

This widget could not be displayed.

It is a simple matter of updating the JRE_HOME. I am trying to remember which file it is but it is definitely under bin folder. Check out permgen.sh (if my memory serves right, but I wouldn't bet on it!) or one of the other script files in there.

This widget could not be displayed.

Check the "setenv.sh" in "$JIRA_INSTALLATION/bin" directory.

This widget could not be displayed.

Thanks everyone for the answers!

 

Jobin you were right on - the path is hard-coded as the "JAVA_HOME" in the bin/permgen.sh - probably upon the initial installation. I changed this and everything works with the new path.

 

Thanks again.

Glad it worked!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

162 views 1 3
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