How to run a java program.
you can java program on command prompt by specifying the path of the file.