How do I change java alternatives?
Set Alternatives for an Entry
There are 2 choices for the alternative java (providing /usr/bin/java). Press <enter> to keep the current choice[*], or type selection number: After typing selection number 2 , update-alternatives will modify the symbolic link to update the default java to use JDK 8.
How do I change alternatives in Linux?
So, to select Python 2 alternative, press 1 and then press <Enter>. Python 2 should be set as the default alternative for the python alternatives. As you can see, the current mode is manual. Even though the Best alternative is /usr/bin/python3 (Python 3), it’s using /usr/bin/python2 (Python 2).