Java Installation

CS 125 teaches the Java programming language. This guide will help you install the software that you need to develop Java applications.

1. Java

Java. is a powerful and versatile programming language. You can build all kinds of things with it, from web servers to command line utilities to Android apps.

If you have a laptop or desktop that you plan to use for CS 125, you should install Java on it. Follow the instructions below that are appropriate for your machine. But keep in mind that installing new software can be challenging, so don’t be discouraged if you get stuck. We’re here to help! Come to office hours or post on the forum in the Installing Java category.

1.1. Version

For Spring 2018 we are using Java 9.0.1, the latest available as of available as of January 2018. Please install this version of Java and continue using it throughout the semester. Minor upgrades will probably not be a problem, and we do not anticipate another major release of Java before the end of the semester.

1.2. Install on Mac and Windows

Download the appropriate software package for your machine from this web page. Run the installer and it will guide you through the rest of the process.

1.3. Install on Linux

If you are installing on Ubuntu Linux you may have more luck by using a packaged Java installer. These instructions documents that process.

1.4. Setting JAVA_HOME

You may need to set an environment variable to ensure that Gradle can find the correct version of Java. Try this if your local autograder refuses to run. Here are some instructions for Windows, and here is a tutorial for Mac. The screencast above shows how to complete the process on Windows machines.

CS 125 is now CS 124

This site is no longer maintained, may contain incorrect information, and may not function properly.


Created 10/24/2021
Updated 10/24/2021
Commit a44ff35 // History // View
Built 10/24/2021 @ 21:29 EDT