Ubuntu 12 - install Sun Java

Introduction

Openjdk is all very well and good, but for IPMI control with ServerMicro computers, you need to have Oracle's version of java installed for some reason. Otherwise the java web start will never fully download and run.

To easily install oracle's latest versioin of java on Ubuntu 12 without having to manually download files and change aliases yourself, the easiest/best solution is to install through the webupd8team's ppa by running the following commands (I put in a shell script and call it.).

sudo apt-get install python-software-properties software-properties-common -y
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer -y

Raw Paste To Copy

References / Sources

No comments:

Post a Comment