CS 111
Fall 2020
  • Home
  • Lectures
  • Labs
  • Problem Sets
  • Resources
  • Syllabus
  • Schedule
  • Staff
  • Office Hours
  • Collaboration
  • Blackboard Learn
  • Python Tutor
  • Piazza
  • Gradescope

Installing Java on macOS

  1. We will be using a version of Java called Amazon Corretto 8. You can download the necessary installer by clicking on this link.

  2. 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.

  3. If prompted to do so, choose to save the file.
  4. 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.
  5. You should be able to use all of the default settings that the installer gives you by just clicking on the Next button.
  6. 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:

  1. Open System Preferences, located under the Apple menu in the top left corner.
  2. In the Security & Privacy preference pane, click the lock icon and authenticate as an administrator user.
  3. Make sure the radio button under Allow applications downloaded from: is set to Anywhere.
  4. Re-download or re-open the desired application.

Last updated on December 2, 2020.