linux replace java version

 Upgrade the java version under linux:

1. Download the corresponding version and install it;

2. After the installation is complete, execute update-alternatives --config java under the root user 

3. Select and enter the jdk version number (Selection) that needs to be modified, and press Enter.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326727125&siteId=291194637