run java file command line linux code example
Example: run java from terminal linux
//To compile, type
javac filename.java
//To run the generated class file, use
java filename
//To compile, type
javac filename.java
//To run the generated class file, use
java filename