Apr 14, 2018

How to change / configure default JDK on Ubuntu

$ update-java-alternatives -l
$ sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
$ sudo update-alternatives --config java