201711671224 "Java Programming" in the first week learning summary

Learning content summary

  • java features: relatively simple, object-oriented, platform-independent, dynamic, multi-threaded.
  • Install JDK: JDK software to learn how to install, set up and learn the system environment variables.
  • Source File: by learning to master the preparation and preservation of the source file.
    Mastered javac.exe and java.exe there javap.exe usage.
    Deepen public understanding of the class, understand the naming of the source file.

Textbook learning and problem-solving process

 

  • Question 1: After installing the JDK, the compiler does not know why there is a problem
  • Problem 1 Solution: find the cause of the JDK during installation, the JDK jre and installed together, resulting in the operating environment problems, and finally delete the jre was successful
  • Question 2: What is the use to set the path variable?
  • Problem 2 Solution: Set utility in the path (javac) path information, the system can find the command you want to execute in the path. After the setup is complete, you can perform additional javac without a specified path
  • Question 3: What is the difference between what jdk jdk, jre, jvm is??
  • Question 3 Solution: JDK (Java Development Kit) provides utility .java .class files compiled into a document. JRE compared with the JDK, it does not contain development tools - compiler, debugger and other tools; we use JDK (call JAVA API) developed our own JAVA program, by the JDK compiler (javac) will we java text file is compiled into bytecode jAVA, jAVA byte code run on the JRE, JVM parsing the byte code mapped to the CPU instruction set or system calls OS.

Code debugging and problem solving in the process

No

Other (perception, thinking, etc.)

Details very important foundation ...... ...... very important to be patient then it ...... but for typhoon might cry ...... I also always such a short time configuration environment variable is not good ......

Reference material

  • "Java Programming"

Guess you like

Origin blog.csdn.net/nemeziz/article/details/82731241