* install java (includes compiler/runtime): `sudo apt install default-jre` * compile: `javac MyProgram.java` * run: `java MyProgram`