update-alternatives –config editor

grant all privileges on *.* to ”@’localhost’ identified by ” with grant option;

sudo update-alternatives –install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_231/bin/java 300
sudo update-alternatives –install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_231/bin/javac 300
sudo update-alternatives –install /usr/bin/jar jar /usr/lib/jvm/jdk1.8.0_231/bin/jar 300
sudo update-alternatives –install /usr/bin/javah javah /usr/lib/jvm/jdk1.8.0_231/bin/javah 300
sudo update-alternatives –install /usr/bin/javap javap /usr/lib/jvm/jdk1.8.0_231/bin/javap 300

update-alternatives –config editor