Edit-Compile-Test on a Mac at home



Note: Mac-OS typically comes installed with Java (including the compiler). If this is not the case, you may have to install the Java Development Kit (JDK). How will you know? If the javac command fails (see below), then it's likely that you don't have JDK installed.

A summary of the steps for edit-compile-test, assuming JDK is installed on your Mac:


Opening a terminal