Java 1.8 on Ubuntu 14.04 LTS

sudo apt-get install python-software-properties (sudo apt-get install --reinstall software-properties-common)
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac

 

Solve missing /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts

sudo dpkg purge forcedepends cacertificatesjava
sudo aptget install cacertificatesjava


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *