Monday, June 24, 2013

Ubuntu : Java alternatives

java alternative

Ubuntu will include openJDK by default. If you install some other version or Sun JDK, then the first installation is set to be the default one.

To check if there are any other java installations:

update-java-alternatives -l
Change the default to any of them:
update-java-alternatives -s NAME-OF-IT