Ubuntu change java version Linux by $ sudo update-alternatives --config java$ sudo update-alternatives --config java Please Share