I am trying to instal SSLEXPLORER which requires me to set the following:
export JAVA_HOME=/usr/lib/jvm/java
export ANT_HOME=/usr/share/ant
I have put this in both my users and roots .bash_profile and logged out and in again.
When doing the following from the user or root I get the same - which is what I would expect
$ echo $JAVA_HOME
/usr/lib/jvm/java
$printenv | grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java
$printenv | grep ANT_HOME
ANT_HOME=/usr/share/ant
However when I try to install the service I cannot and I get the following:
sudo ./install-service
Detecting Java
JAVA_HOME has not been set. Please set JAVA_HOME environment
variable or provide -j <java-home> argument.