Skip to main content.

Development Environment Set Up: Java

Due Monday before class

Objective

to get your development environment set up for Java

Installing Java's Development Kit

If you plan to work only on the lab machines, you can skip this step, but it's probably helpful to have Java installed on your personal machine(s).

We will be using the long-term support version of Java: 17. Specifically, I recommend that you get Liberica, a free, supported, 100% open-source OpenJDK. Make sure you get the JDK (which includes the JRE), not only the JRE.

After installing, on the command line, confirm that you're using Java 17 by running
java -version
javac -version
and seeing that the version is 17.

If you had previously installed Java, you may see a later version number. While that likely won't be a problem with the level of code we'll be writing, I'd prefer to avoid any issues.

Submitting your assignment

No submission. This is just on your honor that you do it, so you're ready for future work.