ubuntu change default java path
sudo update-alternatives --config java
ubuntu change default java path
sudo update-alternatives --config java
set default java version
# on linux
sudo update-alternatives --config java
# then just input the number of the jdk you
# want to use as default and hit Enter
linux change java
sudo update-java-alternatives -s java-8-oracle
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export PATH=$PATH:$JAVA_HOME
123
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us