over 9 years ago
The official JDK is provided by Oracle but is not provided as default installation by ubuntu
You can install Oracle JDK using apt-get by adding the repositories and then using apt-get command.
To add the repository issue the following commands
After adding the repo you have the options to install JDK version using different commands.
For JDK 6 use:
For JDK 7 use:
For JDK 8 use:
Hope this makes it easier to install java without downloading and configuring binaries.
0 Comment(s)