1. Double-click the Java installation package--click Next--Close
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/85/51/wKiom1egBoyzN6DVAAEqxlCsJJM383.png-wh_500x0-wm_3 -wmp_4-s_1845750589.png "title=" qq picture 20160802103257.png "alt=" Wkiom1egboyzn6dvaaeqxlcsjjm383.png-wh_50 "/>
2. Right-click the new document-computer-organization-Remove the check for hidden folder extensions
This step is primarily to change the file type to Java
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/85/51/wKioL1egCAehhjUOAAD-ipC2KIc833.png-wh_500x0-wm_3 -wmp_4-s_2295212665.png "title=" qq picture 20160802103931.png "alt=" Wkiol1egcaehhjuoaad-ipc2kic833.png-wh_50 "/>
3. Write the text in the file document source code--ctrl+s key Save--Rename to Helloworld.java
Copy this file to C + + Ctrl + V paste
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/85/51/wKiom1egC0fR1QnGAABBCkVmmCA793.png-wh_500x0-wm_3 -wmp_4-s_4256982751.png "style=" Float:none; "title=" QQ picture 20160802105124.png "alt=" Wkiom1egc0fr1qngaabbckvmmca793.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/85/51/wKiom1egC0uj4LMrAAFzp9CD2NU161.png-wh_500x0-wm_3 -wmp_4-s_626896484.png "style=" Float:none; "title=" QQ picture 20160802105321.png "alt=" Wkiom1egc0uj4lmraafzp9cd2nu161.png-wh_50 "/>
4. In the Start key search cmd--right click Run as Administrator-enter Javac CD. /.. /press ENTER--javac Helloworld.java have an error, to help the system to find, to tell the system its environment variables
5. Find the path--c disk program Files Java first package--bin--javac.exe--right-click on the superscript path--ctrl+c key--New text document--CTRL+V key paste
Tell the environment right-click Computer Properties-Advanced settings-environment variables-System variables path--Select the superscript path ctrl+c--edit Double-click-the cursor moves to the beginning of the line--press ctrl+v--note after the bin with a semicolon--ok
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/85/51/wKioL1egDvSCpayAAABBCkVmmCA603.png-wh_500x0-wm_3 -wmp_4-s_3387116949.png "style=" Float:none; "title=" QQ picture 20160802105124.png "alt=" Wkiol1egdvscpayaaabbckvmmca603.png-wh_50 "/>
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/85/52/wKiom1egDvujkXQvAAFzp9CD2NU441.png-wh_500x0-wm_3 -wmp_4-s_14300005.png "style=" Float:none; "title=" QQ picture 20160802105321.png "alt=" Wkiom1egdvujkxqvaafzp9cd2nu441.png-wh_50 "/>
5. Search cmd--Right-click Admin--CD. /.. /Enter--javac Helloworld.class
Enter Java HelloWorld carriage return with HelloWorld typeface 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/85/52/ Wkiol1egeqpsq9mcaaip3ir-y7c655.png-wh_500x0-wm_3-wmp_4-s_3548565207.png "title=" qq picture 20160802112458.png "alt=" Wkiol1egeqpsq9mcaaip3ir-y7c655.png-wh_50 "/>
First knowledge of Java