Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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`
  2. Set the environment variable PATH.
    export PATH=$HJ HOME/bin:$PATH
  3. 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.

...