Home  >  Article  >  System Tutorial  >  Do I need to restart the system after configuring JDK environment variables? give detailed introduction

Do I need to restart the system after configuring JDK environment variables? give detailed introduction

WBOY
WBOYforward
2023-12-23 22:53:041214browse

Many friends don’t know if they need to restart the computer after configuring the jdk environment variables. If they don’t restart, the configuration will take effect. The editor thinks that there is no need to restart. After configuring the command, it will take effect automatically. For more specific configuration matters, please see what the editor says~

Do I need to restart after configuring the jdk environment variables:

Answer: Do not restart after configuring the jdk environment variables.

When setting environment variables, the top ones are the environment variables of a certain user, and the bottom ones are the system environment variables.

If you set the environment variables of a certain user, you have to restart. The system environment variables do not need to be restarted!

Do I need to restart the system after configuring JDK environment variables? give detailed introduction

Related introduction to jdk environment variable configuration:

1. After modifying the environment variables, if the application is affected program, then simply restart the application,

2. The modification of the environment variables will be reflected in the program without having to restart the computer

3. However, if it is affected The system service must be restarted to reflect the modification of environment variables to the system service.

4. Because there is no way to restart the system service manager without restarting the computer.

Do I need to restart the system after configuring JDK environment variables? give detailed introduction

The above is the detailed content of Do I need to restart the system after configuring JDK environment variables? give detailed introduction. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:somode.com. If there is any infringement, please contact admin@php.cn delete