Ubuntu: How do I install oracle jdk 7 on ubuntu server 12.04? [duplicate]



Question:

Possible Duplicate:
How can I install Sun/Oracle’s proprietary Java 6/7 JRE or JDK?

Folks,

I'm new in ubuntu server. As I understand it, Oracle retired the Operating System Distributor's License for Java, meaning that Canonical could no longer include the JDK or JRE in their APT repositories. This means no more "sudo apt-get install sun-java-whatever".

I just following this tutorial and other question but i still can't installing the jdk. How do I install oracle jdk 7 on ubuntu server 12.04? Thanks in advance


Solution:1

The most popular way NOW is: https://github.com/flexiondotorg/oab-java6 NOTE: build .deb from OTN binaries and set up a local repository, install from there.

You can run update-alternatives --config java and see installed JDK/JRE and configure.

I personally prefer to use the tar.gz packages and write scripts to automate the install/config/update;-)


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »