The DevOps Zone is brought to you by DZone in partnership with Hewlett Packard Enterprise DevOps. Learn where you are in your DevOps journey by taking the HPE/Forrester benchmarking tool.
When you have got multiple versions of Java installed, you can choose which one you want to use by running the
Running this command shows a list of installed Java JDKs and JREs allowing one to be selected as the default that is used when java needs to be executed.
sudo update-alternatives --config javac
If you prefer to use a gui instead of the command line, you can execute
galternatives instead and define the default versions of software with the following dialog.
The DevOps Zone is brought to you in partnership with Hewlett Packard Enterprise. Download Through the DevOps Looking Glass: Learnings from HP's Own Transformation Initiative to get valuable best practices and “lessons learned” straight from the HP IT team to help you start or progress along your own DevOps Journey.
Published at DZone with permission of
, DZone MVB
Opinions expressed by DZone contributors are their own.