This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17794|Reply: 0

[Source] Java Chapter 1 Knowledge Points

[Copy link]
Posted on 10/16/2014 3:43:06 PM | | |
Chapter I
1. JavaFeatures: Platform-agnostic, object-oriented, and portable
2. Understand instructions and procedures
3. UnderstandC/SandB/S
4. JavaPlatform:JavaSEJavaEEJavaME
5. Compile once, run everywhere
6. How to compile and runjavaProcedure
1. Install the JDK (the necessary toolkit to run the java program, including the javac compiler and java runner)
Need to know the path of the two programs, javac and java
2. With environment variables (My computer attributes à advanced à environment variables à find the path where Pathà adds javac.exe in front below, and the path should be "; "Divided)
3. Write Java code in Notepad
4. Open cmd compilation
Note: Before compiling, switch the DOS console path to the Java file directory you wrote
(cd.. Jump to the higher-level directory d: Switch the disk letter cd folder name Jump to the lower-level directory)
Compilation: javac + space + program filename (with java suffix)
For example: javac Hello.java (compiler, generate class files)
5. Run to display the results
Run: java + space + class filename (without suffix)
For example: java Hello (run the program, see the result)
7. Download eclipse install à run eclipse specified workspace (specify folder) à create a new project (file à new à java project) à name à write code à compile and run (find java application (run the name is the same as your file name))





Previous:2014 "Blue Bridge Cup" preliminary test questions
Next:The university campus network uses routers to replace Ruijie certification to achieve wireless WiFi
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com