how to change the jdk version in linux code example Example: change java version command line debian sudo update-alternatives --config java