20145224-Chen Liwen "Java programming" the first week of study summary

Source: Internet
Author: User
Tags java se

20145224 "Java program design" the first week to summarize the learning content of learning materials

Through the first week of learning let me have a preliminary understanding of Java, know that Java is divided into Java SE, Java EE, Java me three platforms, where Java SE is the foundation. One of the major features of Java is that it can cross-platform, and the JVM supports Java cross-platform, it is similar to a virtual machine, as long as the current platform to install the corresponding Jvm,java program on this platform can be run on the basis. The JRE is the Java execution Environment, the Java program can be run on the computer where the JRE is installed, and of course it is not enough for the program developer to run the code, so we have to download and install the JDK, which is the Java development tool. After the JDK is installed, we can use the shortcut key combination of win+r to bring up "run" and enter "CMD" command to Run "prompt".

See the above interface to indicate that the JDK was initially installed. The next step is to set the PATH environment variable, first to locate the "Javac.exe" file under the JDK's installation path and save its path.

Then find "Path" in system variables based on "Properties" > "Advanced system Settings" > "Advanced" > "Environment Variables", click "Edit",

Click "New" to paste the address of the "Javac.exe" you just saved.

Then open the "command Prompt" to enter the "javac" directive, if you can see the following interface to show that the environment has been set up.

We can start to write code after the environment is set up, because the school network is too slow, at present I still rely on the creation of "text file" after the method of modifying the file suffix to write Java code.

This is the example I wrote "HelloWorld" program run.

Problems in teaching materials learning and the solving process

There is no big problem at the moment, that is, I feel that some of the procedures described in the textbook is not particularly detailed, but I saw the teaching video after the understanding.

Problems in code debugging and the resolution process

The "HelloWorld" in "public class HelloWorld" must be the same as the file name, otherwise there will be a compilation error.

Because my careless more hit a "W" led to the compilation of errors, but this episode also let me notice this knowledge point, also told me to do things carefully, because careless committed the wrong always take a lot of time to be wrong.

Other

Winter vacation when patronize doings wherever other things, have not read Java, now some regret, should initially look at the Java content, while the home network speed, the download software is down, now to the school, the internet is too slow, want to next point what is very inconvenient.

Learning progress Bar
Number of lines of code (new/accumulated) Blog volume (Add/accumulate) Learning time (Add/accumulate) Important growth
Goal 4500 30 350
First week 150/150 2/2 15/15 Preliminary understanding of Java

Resources
    • Java Learning Notes (8th Edition)
    • Java Learning Note (8th Edition) Learning Guide

20145224-Chen Liwen "Java programming" the first week of study summary

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.