Setting up the environment configuration is divided into 3 steps
1. Download and install
JDK uses 1.8.0_151 version, (includes 32-bit and 64-bit): Link: https://pan.baidu.com/s/1qZau8oO Password: 0t5o
2. Configure Environment variables
Environment variables: After the doc command input, in addition to the current folder to find the command, but also to the environment variables inside to find, there are no words will be error.
Environment variable Configuration method: Right-click on "My Computer", click "Properties"-"Advanced system Settings"-"Environment variables"-"System Variables"-"path" (all the paths used by the application in the system)-Add the Bin folder path in the JDK to path, and other paths to use; split.
One-click environment variable Configuration tool: Link: Https://pan.baidu.com/s/1kW4WUnP Password: ZJKD, environment variable can be configured manually
3. Check that the environment variable configuration is successful
After the addition is finished, reopen the Doc command Editor-enter Javac, if the information about the command, the environment variable configuration is successful, error messages such as command errors, environment variable configuration failed.
Doc Common Commands
1. Open the system tray: D
2. Open folder: CD JDK
3. Display the files and folders under the folder: Dir
4. Create folder: MD
5. Delete folder: Rd
6. Deleting files: Del/del *.txt (delete all txt files)/del * * (delete all files). * is called a wildcard character
7. Help: Help/help CD (Detailed information for a specific command)
8. Notepad command: Notepad
Java Learning Day No. 01 (Build environment Configuration)