We will be using a version of Java called Amazon Corretto 8.
You can download the necessary installer by clicking on
this link.
If you receive an error message that says you are downloading from
an unsafe or unknown site, you’ll need to change your security
preferences, at least temporarily, by taking the steps outlined in
the Lowering your security settings
section below.
If prompted to do so, choose to save the file.
Depending on your browser, you should either click/doubleclick on the
downloaded file or click the Run button provided by your browser.
This will start up an installer program. If necessary, give it
permission to make changes to your machine.
You should be able to use all of the default settings that the
installer gives you by just clicking on the Next button.
Once the installation is complete, click the Finish button.
Note: Java is not a program that you can run. Rather, it will
be used by other programs – including the JFLAP program that we will
use in PS 10.
Lowering security settings
macOS may stop you from downloading or running applications downloaded
from the Web (as opposed to through the Mac App Store) unless you
lower your security settings. Here’s how to adjust them so that you may
install and run applications from anywhere:
Open System Preferences, located under the Apple menu in the top
left corner.
In the Security & Privacy preference pane, click the lock
icon and authenticate as an administrator user.
Make sure the radio button under Allow applications downloaded
from: is set to Anywhere.