Versions Compared

Key

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

...

  1. Open the DrJava-HJ gui
    java -jar drjava-version.jar
  2. Now you should have the DrJava-HJ gui running.
  3. Open a HJ program. Lets say we open hj-version/examples/fib/Fib.hj.
    Click on the open button on the top panel
    Navigate to the folder containing Fib.hj
    Select Fib.hj and click open
  4. Compile the HJ program.
    Click on the compile button on the top panel
  5. The 'Compiler Output' tab in the bottom panel should show 'Compilation Completed'.
  6. Go to the 'Console' tab in the bottom panel and check if there were any errors during compilation. All errors will be shown in RED.
  7. Go to the 'Interactions' tab in the bottom panel. Run the program by typing the following.
    run Fib 10
  8. You should get the following output.
    55