It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Setting up JAVA_HOME system variable from embedded JIRA JRE Edited

J. Rogalski May 10, 2017

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

1 vote
Answer accepted
Gareth Cantrell May 17, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

1,018 views 13 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you