How to compile java over terminal, command line , Run java file

1. You need to check, java version with this command
[crayon-6ac0dbc81a373256682738/]
2. Compile the code
[crayon-6ac0dbc81a37c671852177/]
3. Run The compiled
[crayon-6ac0dbc81a37e396221665/]
[crayon-6ac0dbc81a37f859702765/]
[crayon-6ac0dbc81a380827294971/]