Use Notepad to run java program
1. Create a text file HelloWorld.java.
2.public class name consistent with the name of the text file is created.
3.win + r cmd into the command line
4 into the file path HelloWorld.java
5.javac HelloWorld.java // compiler
6.java HelloWorld // run the executable .class