Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

marked as duplicate by Ringtail, devav2, fossfreedom Dec 4 '12 at 8:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

up vote 1 down vote accepted

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;-)

share|improve this answer
    
It's Works. Thanks Terry :) –  Muhammad Sholihin Dec 4 '12 at 7:09
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.