As we all know, Java is the world's most popular language, its characteristics: interpreted language, object-oriented, in the development, the idea of software engineering will be more than the application of language. In my previous study, went a lot of detours, see every book, either Java development, or software engineering, no combination of the two, in fact, the combination of the teaching will help us understand the Java language, especially its comprehensive object-oriented thinking.
What we need to be aware of is that object-oriented is a kind of thought, similar to the philosophy we have been exposed to. is a tall thing, Java is based on the idea of a programming language, in fact, all the books on the web, rarely talk about object-oriented, basically speaking object-oriented are based on a language, language is the first, object-oriented is just interspersed inside, so that we have thousands of readers, Can not understand the object-oriented, it may be said that the object-oriented language is well-understood, but the specific to object-oriented if not combined with a language interpretation, you can not say the clear. Of course, after a few years of development, you may also be able to slowly feel the object-oriented thinking.
This time I write this blog will take the object-oriented thinking as the main line, through the UML Software engineering method, the Java language is introduced therein. From this blog, you will learn about object-oriented thinking, software engineering, especially UML diagram applications, and Java language development.
So-called "工欲善其事, its prerequisite", so first I will introduce the installation of three kinds of development tools. Development Kit Please go to my Baidu network disk download: Link: http://pan.baidu.com/s/1hrY5n1M Password: 8WHC
1. JDK 8,JDK is the Java SDK, and version 8 is used because only JDK 8 is supported in the future with Eclipse Neno. However, in the future for a long time, I will use a text editor to explain, therefore, which version can be, of course, for the future convenience, directly installed JDK 8, just fine.
##### #jdk的安装, download the installation package and press "next" to install it by default.
Configuration of environment variables:
Java_home:c:\program files\java\jdk1.8.0_111
CLASSPATH: .; %java_home%\lib\dt.jar;%java_home%\lib\rt.jar;
Path:%java_home%\bin;
2, ration Al Rose, a UML design tool, produced by IBM, is one of the most diverse tools in UML.
I. Unzip rational Rose,
II. Rename, change the. bin file to a. cue file.
III. Download Daemontoolslite_3987.rar, unzip, double-click DTLite.exe Run
Iv. Click on Quick load to select the extracted and renamed:
[IBM Software Series]. Ibm. Rational.rose.enterprise.v7.0-tftiso.cue file.
V. Open "Computer", you can see the virtual disc already loaded, double-click to run, you can install.
Note: When you open ration rose, you don't need to select a language, just click "Cancle".
3, text editor, editplus the latter notepad++.
This article I will use Notepad Plus, direct Baidu, download the installation can be.
1. JDK installation diagram and configuration of Java environment variables
Illustrations such as:
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/38/wKiom1gqzebBlnJoAAA9WB6e73c591.png-wh_500x0-wm_3 -wmp_4-s_1808352252.png "style=" Float:none; "title=" Java1.png "alt=" wkiom1gqzebblnjoaaa9wb6e73c591.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/34/wKioL1gqzebBHUhmAABSxP0_xGQ914.png-wh_500x0-wm_3 -wmp_4-s_2111325444.png "style=" Float:none; "title=" Java2.png "alt=" wkiol1gqzebbhuhmaabsxp0_xgq914.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8A/38/wKiom1gqzefBoOVKAAA5NCxyF_8388.png-wh_500x0-wm_3 -wmp_4-s_2187761381.png "style=" Float:none; "title=" Java3.png "alt=" wkiom1gqzefboovkaaa5ncxyf_8388.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8A/34/wKioL1gqzeeD0VmEAAA44slKQPI411.png-wh_500x0-wm_3 -wmp_4-s_515492685.png "style=" Float:none; "title=" Java4.png "alt=" Wkiol1gqzeed0vmeaaa44slkqpi411.png-wh_50 "/>
Configuration of the Java environment variable:
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8A/38/wKiom1gq0kKx6z-OAAB3oi57P08910.png-wh_500x0-wm_3 -wmp_4-s_1995883198.png "style=" Float:none; "title=" Java-home1.png "alt=" wkiom1gq0kkx6z-oaab3oi57p08910.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/34/wKioL1gq0kKwvGXIAABLqdF1JPk158.png-wh_500x0-wm_3 -wmp_4-s_2409997033.png "style=" Float:none; "title=" Java-home2.png "alt=" wkiol1gq0kkwvgxiaablqdf1jpk158.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8A/38/wKiom1gq0kLwqF5_AABEazCzydE030.png-wh_500x0-wm_3 -wmp_4-s_1570758951.png "style=" Float:none; "title=" Java-home3.png "alt=" wkiom1gq0klwqf5_aabeazczyde030.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8A/34/wKioL1gq0kLxm4mRAAAk4txZ-Iw444.png-wh_500x0-wm_3 -wmp_4-s_886820672.png "style=" Float:none; "title=" Java-home4.png "alt=" Wkiol1gq0klxm4mraaak4txz-iw444.png-wh_50 " />
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/38/wKiom1gq0kOC8SE3AAAStTiGGVQ594.png-wh_500x0-wm_3 -wmp_4-s_686031273.png "style=" Float:none; "title=" Java-home5.png "alt=" Wkiom1gq0koc8se3aaasttiggvq594.png-wh_50 " />
The java_home variable value is the installation path of the JDK, which is already marked with a red box in the JDK installation image above.
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8A/34/wKioL1gq0kPh53e5AAAjljIoKCs996.png-wh_500x0-wm_3 -wmp_4-s_1554528481.png "style=" Float:none; "title=" Java-home6.png "alt=" wkiol1gq0kph53e5aaajljiokcs996.png-wh_50 "/>
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/38/wKiom1gq0kOgbd8mAAANZ3PMZAs200.png-wh_500x0-wm_3 -wmp_4-s_3252998605.png "style=" Float:none; "title=" Java-home7.png "alt=" wkiom1gq0kogbd8maaanz3pmzas200.png-wh_50 "/>
CLASSPATH:.; %java_home%\lib\dt.jar;%java_home%\lib\rt.jar;
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/8A/34/wKioL1gq0kPj8faFAAAhPW1IRYw953.png-wh_500x0-wm_3 -wmp_4-s_223964476.png "style=" Float:none; "title=" Java-home8.png "alt=" Wkiol1gq0kpj8fafaaahpw1iryw953.png-wh_50 " />
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8A/38/wKiom1gq0kThwFmUAAAWK13t2pQ022.png-wh_500x0-wm_3 -wmp_4-s_36488944.png "style=" Float:none; "title=" Java-home9.png "alt=" wkiom1gq0kthwfmuaaawk13t2pq022.png-wh_50 "/ >
2, Rational rose installation diagram.
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/8A/34/wKioL1gq2EjxApqUAACNhO5r33Y217.png-wh_500x0-wm_3 -wmp_4-s_2399500611.png "style=" Float:none; "title=" Rose1.png "alt=" wkiol1gq2ejxapquaacnho5r33y217.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8A/34/wKioL1gq2EjhYPHRAABIxJsoIlM325.png-wh_500x0-wm_3 -wmp_4-s_3586559393.png "style=" Float:none; "title=" Rose2.png "alt=" wkiol1gq2ejhyphraabixjsoilm325.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/38/wKiom1gq2EmQJl6mAACEvFYokgg259.png-wh_500x0-wm_3 -wmp_4-s_3362134037.png "style=" Float:none; "title=" Rose3.png "alt=" wkiom1gq2emqjl6maacevfyokgg259.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/34/wKioL1gq2EmR1mJSAAAiNjjj6FQ346.png-wh_500x0-wm_3 -wmp_4-s_2413197121.png "style=" Float:none; "title=" Rose4.png "alt=" wkiol1gq2emr1mjsaaainjjj6fq346.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8A/38/wKiom1gq2EmQ-a-lAAAZJkKVYv4259.png-wh_500x0-wm_3 -wmp_4-s_672961887.png "style=" Float:none; "title=" Rose5.png "alt=" Wkiom1gq2emq-a-laaazjkkvyv4259.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8A/38/wKiom1gq2EzQCPKSAAAsG_k-U7A812.png-wh_500x0-wm_3 -wmp_4-s_3593877770.png "style=" Float:none; "title=" Rose6.png "alt=" wkiom1gq2ezqcpksaaasg_k-u7a812.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8A/35/wKioL1gq2E7B6duDAAKO02CsaVY707.png-wh_500x0-wm_3 -wmp_4-s_3388472087.png "style=" Float:none; "title=" Rose7.png "alt=" wkiol1gq2e7b6dudaako02csavy707.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/38/wKiom1gq2E7AbP9lAADCGILk75E813.png-wh_500x0-wm_3 -wmp_4-s_3309483164.png "style=" Float:none; "title=" Rose8.png "alt=" wkiom1gq2e7abp9laadcgilk75e813.png-wh_50 "/ >
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8A/35/wKioL1gq2E-xxoI3AAA78gK2zOk193.png-wh_500x0-wm_3 -wmp_4-s_1920201972.png "style=" Float:none; "title=" Rose9.png "alt=" wkiol1gq2e-xxoi3aaa78gk2zok193.png-wh_50 "/ >
3, NotePad plus installation
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8A/38/wKiom1gqzkXhp6SiAAV1eDNwDrk483.png-wh_500x0-wm_3 -wmp_4-s_359707614.png "title=" Notepad++.png "alt=" Wkiom1gqzkxhp6siaav1ednwdrk483.png-wh_50 "/>
This article is from the "http://sunshine2624.blog.51cto.com/3959438/1873162" blog, please be sure to keep this source.
Java and uml-1-工欲善其事 its prerequisite