java History
- Java was developed by Sun Microsystems company in 1995 to launch a Java object-oriented programming language and the Java platform in general.
- Jointly developed by James Gosling and colleagues, and officially launched in 1995.
- java is a very popular computer programming languages, most of which use is java8
java environment
jdk
-
- java develop kit is a development tool
- Installation Recommendations 1. Do not have a Chinese path or external public spaces 2. To cancel the JRE is installed separately
JRE
-
- Java Runtime Environment
- Is a runtime environment including JVM
JVM
-
- Java Virtual Machine: java virtual machine, is at the heart
- System environment variable path configuration 1. Create a new variable: JAVA_HOME, configure the installation Road King, do not fill the bin; 2. Add the path where: JAVA_HOME / bin
- In fact, we can directly open the notepad is the system default setting environment variables win + R in
Installation Photo:
-
-
First, my computer \ Right Properties \ Advanced system settings: win10 can search for "Environment Variables" At the beginning, the Enter:
-
-
-
Second, click the environment variable, the new variable name "JAVA_HOME" in the system variable, the value of jdk installation path
-
-
-
Third, add "% JAVA_HOME% \ bin" in the system variable Path Lane, can be determined
-
editor
notepad plus++
default setting
- Preferences: New default settings to java
- Preferences: The default encoding settings to ANSI
eclipse
a) official website
https://www.eclipse.org/downloads/
b) Download
Where the yellow button "Download 64 bit" is an installation package, download the required networking; recommend click on the bottom "Download Packages" to download the offline compression package, the green version.
c) Common shortcuts
- Single-line comments Ctrl + /
- Multi-line comments Ctrl + Shift + / && Ctrl + Shift + \
- Moves up or code Alt + ↑ && Alt + ↓
- Copy up or down one line Ctrl + Alt + ↑ && Ctrl + Alt + ↓
- Delete the current line Ctrl + D