You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Download and Setup HabaneroJava (HJ) Package

HJ

  1. Download the zip file containing the HJ package from https://svn.rice.edu/r/parsoft/projects/COMP322/2011/hj-1.2.0.zip
  2. Now you have the zip file, say hj-version.zip
  3. Unzip the file
    unzip hj-version.zip
  4. This will create a folder, namely hj-version
  5. Set the environment variable HJ_HOME to this new folder, hj-version
    cd hj-version
    export HJ_HOME=`pwd`
  6. Set the environment variable PATH
    export PATH=$HJ_HOME/bin:$PATH
  7. You are all set to run HJ programs
Testing

Do the following to check if your HJ is setup correctly.

  1. Go to a folder with an HJ program. Lets say we go to hj-version/examples/fib/.
    cd $HJ_HOME/examples/fib

DrJava-HJ

  1. Download the jar file corresponding to DrJava-HJ from https://svn.rice.edu/r/parsoft/projects/COMP322/2011/drjava-r5422-hj-1.2.0.0.jar
  • No labels