1. Type cmd into windows search and right click on cmd
2.Check if your JDK is well installed by type java -version and press ENTER to see the installed version of yourjdk
3.Make sure you save your java files in a folder named "MyJava" on desktop
4.Type cd destop and hit ENTER
5.Type cd MyJava and hit ENTER
6.Type javac -filename and hit ENTER
7.Type java filename.java and hit ENTER
Congrat you are done!
No comments:
Post a Comment