...
- Go to a folder with an HJ program. Lets say we go to hj-version/examples/fib/ which contains an HJ program that computes the Fibonacci of a given input number.
cd $HJ_HOME/examples/fib - Compile the HJ program, Fib.hj
hjc Fib.hj - Run the HJ program with appropriate arguments, Fib with an input 10.
hj Fib 10 - You should get the following result, which is the Fibonacci value of 10.
55
DrJava-HJ
- 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