Setting up JAVA_HOME system variable from embedded JIRA JRE Edited

Following Running JIRA applications over SSL or HTTPS which requires java installed on your system.

I am running JIRA with embedded JRE already which is clearly not recognised by OS (Ubuntu).

As per the confluence page...

"ensure the <JAVA_HOME> variable is pointing to the same version of Java that JIRA uses."

Is it possible to set <JAVA_HOME) variable to embedded JRE (if so, how to do it pls) or do I have to install new system-wide JRE separately?

1 answer

1 accepted

You can set the JAVA_HOME variable to the included JRE before running the commands. Alternatively, replace <JAVA_HOME> by the full path to the JRE folder in the JIRA installation folder.

However, my recommendation if you want to enable SSL is to rather use a reverse proxy like Apache or Nginx to manage the SSL termination.

By using a reverse proxy to handle the SSL termination you allow the JVM to focus purely on running JIRA and not have the overhead of handling the encryption for each connection as well.

Also, handling the SSL configuration in Apache or Nginx is much simpler than trying to deal with it in Tomcat/Java.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

214 views 0 5
Read article

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