linux switch jdk version

Switch jdk version command:
alternatives --config java
Then it will list the jdk information installed on the current machine
Select the version to use and press enter

Guess you like

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