To add the WebUpd8 Oracle Java PPA repository and install Oracle Java 8 in Debian, use the following commands:
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
And that's it, Oracle Java 8 should now be installed and you should get automatic updates for future Oracle Java 8 versions, under Debian.
You can check out the Java version on your system by using these commands:
java -version
There is a package in repository that automatically sets the Java 8 environment variables and sets JDK8 as the default JDK. To install it, use the following command:
apt-get install oracle-java8-set-default
source /etc/profile.d/jdk.sh
TERRA DEI FUOCHI - Stop agli sversamenti abusivi, sequestrate sei aree
trasformate in discarica a Mondragone
-
08:25:39 Prosegue senza sosta l'impegno dell'Arma dei Carabinieri nel
contrasto agli illeciti ambientali nella cosiddetta Terra dei Fuochi. Nella
mattinata...
50 minuti fa


Nessun commento:
Posta un commento