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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

I'm missing Java home all of a sudden

So, I upgraded my server, but it specified that a few files were needed for the upgrade; setenv.sh server.xml web.xml and the like, so I moved those into position and attempted to stop the server to restart it.  It is now specifying that it can't find java_home.

 

As I used the bin file to install this, I had expected Java to be installed along side the jira app.  If that is the case, I need to know where and how to point the jira app at the installed java_home.  If that isn't the case, suggestions on what java to get, and where to implement a change so jira is happy again would be appreciated!

1 answer

1 accepted

1 vote
Answer accepted
DPK J Community Leader Dec 16, 2019

@admin admin  Can you please check, what does below line prints,

$ echo $JAVA_HOME

If it prints noting, I think you need to set $JAVA_HOME manually in /etc/environment something like this,

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/atlassian/jira/jre/bin"

JAVA_HOME="/opt/atlassian/jira/jre/bin" # Add link to packaged JRE.

Then apply it and see if this time it prints  JAVA_HOME,

$ source /etc/environment
$ echo $JAVA_HOME
/opt/atlassian/jira/jre/bin

 

You are good to run Jira now.

I resolved this by entering it into the /etc/environment file

I am still unable to log in now however, but I will open another ticket for that, thank-you!

DPK J Community Leader Dec 16, 2019

@admin admin  You are welcome.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,595 views 22 33
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