1. Write your Java code in a .java file
  2. Compile your code using a Java compiler (javac, IntelliJ IDEA’s, etc.)
  3. Compilation results in a byte-code file with a .class extension
  4. Execute the compiled byte-code on the JVM with java <classname>