In order to compile Java language code into Java executable code, you need the Java Software Development Kit (or Java SDK). There are several different flavors of Java platforms, including the "Enterprise Edition" (Java EE), the Standard Edition (Java SE), the Micro Edition (Java ME), etc. We will be using the standard edition, or Java SE in this class.
There is a video available in MyCourses under CS-140 "Panopto Videos" that demonstrates download/install of the Java SE JDK on a Windows 10 machine. Use this as a reference for other platforms as well, making the obvious platform specific changes.
You should download the Java Standard Edition (Java SE) Java Development Kit (JDK) from Oracle: this link. You should select the latest JDK 10 (currently JDK 10.0.2). Note that the JDK includes the Java Runtime Environment (JRE) that is compatible with the development environment. You will not need to download a separate JRE.
Here are some more platform specific instructions:
;C:\Program Files\Java\jdk...\bin\
At the start of the semester, we will be using Java without using an IDE, just to understand the basics. Eventually, we will download and start using the Eclipse IDE. When that time comes, there is a separate web page that describes the installation of Eclipse.