In this video I how you how to create and run a Java file from Command Prompt or cmd.
I have put the source code for the class below:
public class App{
public static void main(String args[]){
System.out.println("You can do this.");
}
}