Saturday, October 19, 2024

Switch from One Java Version to Another




Switch from One Java Version to Another



If you have multiple Java versions installed on your system, you can list them by using the alternatives command: sudo alternatives --config java

The currently active version is marked with a + sign.

To switch to another version, type the appropriate number and press Enter.



No comments:

Post a Comment