![Java 8 - Ubuntu 14.04 LTS Java 8 - Ubuntu 14.04 LTS](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhR3RBI31OOr8l5M_hJw74V7Iqymv55OldlPK8X7qlG_r-OihwkUizC3iVQcxDx0jLSVJ6eOCl1w_dWSSNKgayaack0-f0za5hpzKYW8MfrTonW-XLClYjHsM5nUDm3Xh4ri9ucZkdDsU/s320-rw/java_logo.png)
Java 8 - Ubuntu 14.04 LTS:
Naredbe u Terminal:
1.
sudo add-apt-repository ppa:openjdk-r/ppa
2.
sudo apt-get update
3.
sudo apt-get install openjdk-8-jdk
4.
sudo update-alternatives --config java
i napišite broj da označite verziju Jave.
5.
sudo update-alternatives --config javac
6. Provjera Java verzije:
java -version