Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

No JRE_HOME or JAVA_HOME for Jira DC

Raj July 12, 2023

Hi Team,

I am trying to add one more cluster node to existing Jira DC environment and getting error while starting the service.

I have copied entire installation/java and config files from one of existing node.

When i try to run echo $JAVA_HOME on new node, It returns nothing where as all other existing nodes returns path.

And when i try query using "printenv" i see Java and Jira home paths in existing nodes but not on the new one. I have updated .bashrc file as well with what we have on existing nodes.

I have verified/compared, dbconfig,setenv,cluster.properties and server.xml files.

Any thoughts?

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
July 12, 2023

Hi @Raj ,

you need to set local environment variable to your server otherwise you can define java home in setenv.sh file within JIRA Inst folder.

Hope this helps,

Fabio

Raj July 12, 2023

Hi @Fabio Racobaldo _Herzum_ ,

Thanks for your response. Do we need sudo access to set this? Also if you can help with commands would be great as i'm new to linux.

Fabio Racobaldo _Herzum_
Community Champion
July 12, 2023

Hey @Raj , 

please take a look to the follwoing guide https://confluence.atlassian.com/crowd030beta/setting-java_home-907281613.html

Fabio

Raj July 12, 2023

Suggest an answer

Log in or Sign up to answer