how to properly compile a java program code example Example: compile java // compile > javac myCode.java // run > java myCode