Install the software-properties-common package first, it adds the add-apt-repository command to the system. Check Java version to verify the installation JDK itself contains JRE, if you want to only install JRE on Ubuntu then use following command Once the update to package index is complete, start installing the JDK To install the latest version, first update the package index using “apt” Make sure you have the Superuser rights on Ubuntu, otherwise installation will be failed due to user permissions.
0 Comments
Leave a Reply. |