Java and the JVM (Java's virtual machine) are widely used and required for many kinds of software. This article will guide you through the process of installing and managing different versions of Java using apt-get.
JRE: Java Runtime Environment. It is basically the Java Virtual Machine where your Java programs run on. It also includes browser plugins for Applet execution.
JDK: It's the full featured Software Development Kit for Java, including JRE, and the compilers and tools (like JavaDoc, and Java Debugger) to create and compile programs.
Commands:
sudo apt-get update
sudo apt-get install default-jre
sudo apt-get install default-jdk
Installing Oracle JDK
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo update-alternatives --config java
----------------------
Music by Joakim Karud soundcloud.com/joakimkarud
You can always Deploy an SSD cloud server in 55 seconds
with Digitalocean.
Anyone how use this link will receive $10 in hosting credit immediately after unlocking their account by adding a valid payment method.
Sign Up with this link
Watch video How To Install Java with Apt-Get on Ubuntu 16.04 online, duration 02 minute 14 second in high hd quality that is uploaded to the channel NixInPix 10 July 2016. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2 thousand times and liked it 8 visitors.