Installing Java JDK

For the CLAS12 analysis, we are going to need Java. If you do not have it on your computer, you want to install Java JDK. We will be using the Java SE flavor.

The installation instructions are on the Oracle website. Start with the latest version.

After you have installed Java JDK, check that the $JAVA_HOME environment variable is working. In the command line, type "echo $JAVA_HOME". On my Mac, I get the response

/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home