So ändern Sie die Java -Version unter Linux
$ sudo update-alternatives --config java
Tanishq Vyas
$ sudo update-alternatives --config java
sudo update-alternatives --config java
sudo update-java-alternatives -s java-8-oracle
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export PATH=$PATH:$JAVA_HOME
123
export JAVA_HOME="path that you found"
export PATH=$JAVA_HOME/bin:$PATH