...
- Set the environment variable HJ HOME to the ’hj-version’ folder.
export HJ_HOME=<full-path-to-hj-version-folder>
OR
<Go to the hj-version folder>
export HJ_HOME=`pwd`
Note that you need to use `backquote` in the above command.
Note that you need to use `backquote` in the above command. - Set the environment variable PATH.
export PATH=$HJ_HOME/bin:$PATH - You should have the environment variable JAVA_HOME set to run HJ programs. Some machines would have it set when you log in. If it is not set already, you have to set it as follows.
Check if your JAVA_HOME is set.
echo $JAVA_HOME
If this prints an empty line, it is not set. Do the following.
export JAVA_HOME=<full-path-to-java-sdk>
In your lab machines, the java sdk can be found at /etc/alternatives/java sdk sun.
...