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,365,363
Community Members
 
Community Events
168
Community Groups

What paths to update after a Java update?

Hi, 

We are running Fisheye/Crucible on a corporate VM and IT updated the JAVA version to 1.8.X. Crucible won't start anymore since we need to update the paths somewhere... but all the places I've done will not work.

We're running it as a service so I've updated the path on these files:

/usr/lib/systemd/system/fisheye.service

/etc/environment

What other files need me to update the java path?

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Niranjan Rising Star Sep 28, 2020

Try running echo $JAVA_HOME . Do you see the path that you have set? If so, it should work.

If you don't see the path try to refresh it like source ~/.profile

echo $JAVA_HOME returns nothing but I found my error. My /etc/environment file looked like this:

[root@XXXX bin]# cat /etc/environment

JAVA_HOME="/usr/java/jdk1.8.0_261/bin/java"

FISHEYE_INST="/opt/..../crucible/fecru-4.8.1/"

FISHEYE_HOME="/opt/..../crucible/fecru-4.8.1/"

 

I just had to remove the bin/java, then reload the daemon and then restart the fisheye service.

systemctl daemon-reload

systemctl restart fisheye.service

Like Niranjan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

Atlassian Community Events