Skip to main content.

Development Set Up

Due Friday before class

Objectives

Part 0: Choose Your Text Editor

You'll use a text editor to start development in Java. (We'll switch it up later.) You will also use a text editor to write your commit messages in git (see below). The text editor you use for each task does not need to be the same.

Some options: emacs, vim, Atom (discontinued after Dec 15, 2022 :( ), nano, jEdit, Notepad, VSCode (but this adds a lot of bells and whistles that I don't want you to use yet). Play around and see what you like.

Part 1: Install and Set Up Git

Creating Your GitHub Account

If you don't already, you should get a GitHub account.

Set up Your GItHub Account: Personal Access Token

Create a personal access token in the GitHub web interface.

Part 2: 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 if you have java installed on your machine.

We will be using the latest version of Java: 18. 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 just the JRE.

On the command line, confirm that you're using Java 18 by running
java -version
javac -version
and seeing that the version is 18.

Submitting your assignment

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