Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,637,749
Community Members
 
Community Events
196
Community Groups

How do I set Java home an automated installation?

admin admin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 13, 2019

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.


'app.install.service$Boolean=true'
'app.jiraHome=/var/atlassian/application-data/jira'
# 'existingInstallationDir=/usr/local/JIRA Core'
'launch.application$Boolean=true'
'portChoice=default'
'sys.adminRights$Boolean=true'
'sys.confirmedUpdateInstallationString=false'
'sys.installationDir=/opt/atlassian/atlassian-jira-core-8.5.1'
'sys.languageId=en'

 

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
admin admin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 17, 2019

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
brbojorque
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Dec 16, 2019 • edited

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 setenv.sh.

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
TAGS
AUG Leaders

Atlassian Community Events