Java Installation Instructions

Java Installation on Windows

Download Java from here: https://www.java.com/en/download

Continue with normal installation:

Verify that java is install by opening cmd and typing

java -version

How to set Environment Variables

  1. Click on my computer and open properties

2. Go to advanced system settings

3. Go to environment variables

4. Click on new and name the variable as PATH

5. Find and copy the path that leads to java\jdk\bin

example: c:\Program Files\Java\jdk1.8.0_181\bin

6. Paste the path as the value

Java installation for Mac OS X (10.15)

Download and install Java: https://www.java.com/en/download/mac_download.jsp

Insure java is installed by typing java -version in the Terminal:

Creating a .bash_profile on your mac

A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must have.

To set up the environment variables open the Terminal and go to the home folder by using the following command: "cd ~/

  1. Create a new file by typing: touch .bash_profile

  2. Edit .bash_profle by typing: open -e .bash_profile

  3. Type: export JAVA_HOME=$(/usr/libexec/java_home)

  4. Save the file (command + s) and return to the Terminal

  5. Type: source .bash_profile