1. Find the bin directory under the jdk installation directory and copy it
2. Click Computer and select Properties;
3. Select Advanced, Environment Variables;
4. Paste at the path line, pay attention to the English half-width symbol (;) at the end
administrator user variables are only available to the administrator user, while system variables can be used by all users.
In the environment variables, path is used to ensure that the java command is executed under the path. It can be said to be an indispensable link in the environment variable configuration.
The above is the detailed content of How to configure path in java environment variables. For more information, please follow other related articles on the PHP Chinese website!