Oracle JDK has been a long time not included anyway by default of Ubuntu repositories related due to licensing issues. It makes the user a little confused when they want to install it because it is usually pretty straight looking at the software center then click install, we've got Oracle JDK. However, this time to obtain them need more effort. But do not worry because of the way it turned out quite easily.
Follow this easy steps below to install the Oracle JDK on your ubuntu:
1. Open the terminal application by typing "terminal" search tab of your Ubuntu then click.
2. Once the terminal is open, then add "WEBUPD8" PPA Repositories with this command.
sudo add-apt-repository ppa: webupd8team / java
3. Then you must update the new repository by this following command.
sudo apt-get update
4. Install Java JDK 7 with this command
sudo apt-get install oracle-java7-installer
5. In order too uninstall it when you feel you already do not deign to use the Oracle JDK, how was fairly easy. Simply by typing the following command in the terminal
sudo apt-get remove oracle-java7-installer
Press Enter and wait for it to finish.
To ascertain whether java works or not, please in the test through the following link
HERE
Conclusion
Canonical is already planned from 2011 to exclude the Oracle JDK into the repository as they affirm.
Canonical said that this is important because they will not be able to update the security in the future because Oracle has stopped "Operating System Distributor License for Java" (DLJ) in August 2011,
The installation by manual above it is one of the solutions that must be done if you want to get the Oracle JDK in your operating system. Hopefully what I said above is useful for all readers.
I believe there is other way out there faster but unfortunately I do not know. So I'm waiting for information from readers to inform us if you have better tehnique. Thankyou.
More From Author
Tips