how to run a java file on terminla code example Example: how to run a java file in terminal javac FirstJavaProgram.java