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.
    setenv HJ_HOME <full-path-to-hj-version-folder>
    OR
    <Go to the hj-version folder>
    setenv HJ_HOME `pwd`
    Note that you need to use `backquote` in the above command.
  2. Set the environment variable PATH.
    setenv 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.
    setenv JAVA_HOME <full-path-to-java-sdk>
    In your lab machines, the java sdk can be found at /etc/alternatives/java sdk sun.

HJ - Testing

Now you are all set to compile and run HJ programs. Here are the instructions to compile and run an HJ program in the command line.

...