1, JDK directory introduction
Bin directory: Java compiler, interpreter, and other tools (executable file)
DB directory: Jdk7 comes with a lightweight database, named Derby
Include directory: the interface file that holds the calling system resource
JRE directory: Storing Java Runtime environment files
Lib holds Java class library files
Src.zip file: JDK provides the source code for the class
Things to keep in mind when installing JDK
A, do not include Chinese in the installation path
B. Do not include spaces in the installation path
2. Java Environment
JRE (Java Runtime Environment) Java Runtime Environment jre=jvm+ Core Class library (core file for secondary Java Virtual machine run)
JDK Java Development Toolset Jdk=jre+java development tools
3. Configure Environment Variables
3.1. Why to configure the PATH environment variable
Because there are a lot of tools that we use in our development under the Bin directory of the JDK such as: Java.exe Javac.exe, so when we are using these Java development tools in any location under the computer, we need to configure the paths of these tools in the environment variables of the system, and when we use them, the system can help us to find these commands.
3.2. How to configure the PATH environment variable
We copy the path to the bottom bin of the JDK
In our computer-----à attribute-----à advanced-----à environment variable---------àpath this
Place the path of the bin to the front of the path, and don't forget to add a semicolon;
Java Development Prelude