Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I set Java home an automated installation?

So, I'm running an automated installation with the following entries in the response.varfile;

The installation is completing, and the server is active, but I am unable to stop it and start it again, as it can no longer find the java directory.  Likewise, the memory configuration is not set during the installation, so the server starts with less than I want.

# 'existingInstallationDir=/usr/local/JIRA Core'


I am looking for a way to set the Java home, and preferably the memory configuration for the Jira installation, lets say 8 max, 4 min.  I expect there is a way to configure this in the response.varfile, and if so what are the lines necessary?

2 answers

0 votes

Knowing this provides me the flexibility of altering it if necessary in the future.  I am not in the habit of delivering servers I don't know how to alter.

0 votes

There is an official documentation that Atlassian released for response.varfile but it is limited what you can do is to have a post-installation setup where you add the JVM values in

Most likely you don't need to set the JAVA home because the installation by default will use the bundled JAVA unless it is a tar.gzip install file.

To override the bundled java you can install a new version in the OS and edit the environmental variable, this is tricky to do, you are better off letting the installer do the JAVA stuff.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events