![apt get install java plugin apt get install java plugin](https://www.tecmint.com/wp-content/uploads/2021/04/Install-Java-with-Apt-in-Ubuntu.png)
NOTE: Before actually proceeding further, read the " Discussion" to this SDB for updates and contributions which may not yet have been accepted to be part of the main SDB. This way, one might even follow both procedures in a sequence, since the JDK and the JRE are installed in different directories, but only the latter is going to be used by your system (or whichever the symbolic link is pointing to). jdk_Oracle, will be used for the symbolic link pointing to the folder where the Oracle Java Environment is located. With both the procedures given below, for JDK and for JRE installation, the same name, i.e. Installing both packages when they have the same version number is not (quite) useful. Differences with JRE installation should be clearer, should someone want to install just the Java Runtime Environment. The JRE installation is a shorter version of the JDK installation, therefore the procedure to install the JRE will be shown first.
#Apt get install java plugin how to
Here is a quick guide on how to install the newest and secure version.
![apt get install java plugin apt get install java plugin](https://media.geeksforgeeks.org/wp-content/uploads/20210309051239/2mintupgrade.png)
![apt get install java plugin apt get install java plugin](https://thishosting.rocks/wp-content/uploads/2018/01/install-java-ubuntu.jpg)