java 8 and 12 switcher ubuntu code example Example: ubuntu change default java path sudo update-alternatives --config java