Disclaimer: The materials used in this column are written by VIP students of Kaige Academy. Students have the right to remain anonymous and have the right to final interpretation of the article. Kaige Academy aims to promote VIP students to learn from each other based on public notes.
PATH-> is a shortcut command used to configure DOS, which stores many paths, search
PATHEXT-> suffix configuration from the front mode, and search with your name when searching
Temporary environment variables in DOS (invalid when DOS is closed):
1. SET environment variable name = environment variable content
2. The temporary environment variable configuration will overwrite the previous environment variable content, so the previous PATH content will be lost
3 .SET PATH=C:\program Files\Java\jdk1.8.0_144\bin;%path%
This sentence configures a temporary environment variable path, followed by the configuration content in the previous path, which is combined together
Error:
When this command appears in DOS, it is not an internal external program, that is, your PATH is not configured properly
DOS (Disk Management System):
1. Manage disk files
2. Execute related programs
can't find
1. Is there no Hello.alss in your path?
2. Is your lassPATH not configured?
3. Case problem
What is the class version problem
1. You compiled Hello.java with a higher version of jdk
2. Then run Hello.class in a lower version
Compatibility issues of Javaclass:
1. The compiled class file can be upward compatible
2. The compiled class file cannot be downward compatible