Install the jdk or
java runtime. verify that you can run java through the command prompt, by typing java.
extract the zip file to a folder. change to that directory through the command prompt.
run like so..
java CoursesRegistration (Because this is the class with the main method in it)
Also it looks like you would benefit a lot by going through some basic java tutorials like
this.