@ndacyayisenga in addition to jenv recommended you can also opt to use sudo update-alternatives --config java
and then just select which java version you want to use .
Personally it works well for me to switch between java versions on my machine
@ndacyayisenga in addition to jenv recommended you can also opt to use sudo update-alternatives --config java
and then just select which java version you want to use .
Personally it works well for me to switch between java versions on my machine