Create a file test.sh in the same directory as hq-server.sh.
For safety's sake do not make it executable
Then run it as sh test.sh.
Please post the output
The contents of the file are as follows.
###Replace [SASHOME] with actual path
T_JAVA_HOME=[SASHome]/SASPrivateJavaRunTimeEnvironment/9.4/jre
export ${T_JAVA_HOME}
${T_JAVA_HOME}/bin/java -version
Please check if the path of SASPrivateJavaRuntimeEnvironment/9.4/jre in the same in hq-server.sh is correct or not.
I see you have the proper java installed,
Please have a look at this https://support.sas.com/kb/61/529.html
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.