1. create system variable
2. edit the system path
note: ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
3. create classpath
note: .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib;