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

What paths to update after a Java update?

Tony Ly September 28, 2020

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
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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

Tony Ly September 28, 2020

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
AUG Leaders

Atlassian Community Events