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