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 to my existing jira.home?


Thank you.

3 answers

0 vote

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 (if my memory serves right, but I wouldn't bet on it!) or one of the other script files in there.

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

Thanks everyone for the answers!


Jobin you were right on - the path is hard-coded as the "JAVA_HOME" in the bin/ - 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

771 views 2 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