Here are the steps for running HJ-lib using an IDE:
Step 1: Java 8 Installation
You will also need a Java 8 installation on your machine and have your JAVA_HOME and PATH point to the new installation. Java 8 can be downloaded and installed from the Oracle website.
For e.g., I have the following on my Mac machine's .bash_profile:
JAVA8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
export JAVA_HOME=${JAVA8_HOME}
export PATH=$JAVA_HOME/bin:$PATH
On Windows the environment variables have to be set up differently, refer to this stackoverflow question to see how it can be done.
Step 2: HJ-lib JAR File
TODO: Download the hj-lib jar file and save it to a local directory.
Step 3: IDE like IntelliJ or Eclipse
HJ-lib is a simple Java library (jar file) and can be used in any Java project. As such a simple text editor can be used to write programs that use hj-lib.
However, we recommend using an IDE like IntelliJ to do the Java development using hj-lib in the labs and assignments.
A free version of IntelliJ (Community Edition) can be downloaded and installed from the Jetbrains website.
Step 4: Your first project