CS 212 Software Development

CS 212-01, CS 212-02 • Spring 2021

Java and Eclipse Setup

This guide will walkthrough the steps necessary to install the latest versions of Java and Eclipse on your local system.

Install Java 15

You need to make sure you have the latest version of Java Standard Edition (SE) Development Kit 15 (JDK 15) installed on your system. When downloading, keep in mind:

  • Do NOT download Java 8, Java 11, or Java 14. We will be using Java 15 in class. There are some differences between Java 8, Java 11, Java 14, and Java 15, and the lecture code may not compile on your system.

  • Do NOT download Java Enterprise Edition (EE). We will be using the Standard Edition (SE) in class. Java EE is used to create enterprise applications.

  • Do NOT download just the Java Runtime Environment (JRE). The Java Development Kit (JDK) includes the JRE, which is necessary to run Java code. The JDK also includes the Java compiler, which we will need in class.

To install the Java SE 15 JDK, go to:


Download the appropriate file for your system. Run the installer and follow the prompts.

Once done, open a terminal window and verify the version using java -version and javac -version. The output will be similar to:

% java --version
java 15.0.2 2021-01-19
Java(TM) SE Runtime Environment (build 15.0.2+7-27)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.2+7-27, mixed mode, sharing)
% javac --version
javac 15.0.2

Note that % above indicates the command prompt, and the lines below that are the output.

Java removed auto-update capability for Windows and MacOS systems. You will need to manually check when new versions of Java 15 are released.

Install Eclipse

About Eclipse

You need to make sure you have the latest Eclipse IDE for Java Developers package for Eclipse 2020-12. The direct download link is:


Do NOT download the IDE for Java EE Developers, as we are using Java SE in class. There are installers available for Windows, Mac OSX, and Linux. Once downloaded, double-click the installer.

Mac Users: I recommend you move the Eclipse.app file into your “Applications” folder for easy access.

Setup Folders (Optional)

I recommend you create a CS 212 or cs212 folder, and within it create these subfolders:

  • Workspace: This will be the folder for your Eclipse workspace.

  • Repositories: This will be the folder for your GitHub repositories that will be used for homework and project submission (and Eclipse).

    You can configure Eclipse to always save your CS 212 code in this folder in the “Version Control (Team) » Git” settings:

    Git Settings

Eclipse does not behave well when you combine or nest the Workspace and Repositories folders. Keep these separate!