Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I download the jdk-7u9-linux-i586.rpm (not the rpm.bin)

I use code rpm -ivh jdk-7u9-linux-i586.rpm.

But it cannot install it succesfully, why??

I use google to search the anwser, but they all about how to install a "bin" file, not the "rpm" I download at the its file is the "rpm", not the "XXX.rpm.bin"

Now I have no idea about this.

share|improve this question
Rpm packages are for Red Hat based distributions, although they can be installed on other distros. What errors are you getting? There's other ways to install jdk on Ubuntu: – LnxSlck Dec 11 '12 at 14:30
You should follow this – Eric Carvalho Dec 11 '12 at 15:08
With Linux, you usually do not download stuff from websites. Check out the “Software Center” and search for the Java Devolpment Kit there. – Martin Ueding Dec 11 '12 at 15:25
@queueoverflow Since the Oracle JDK is no longer in the Ubuntu repositories, it will not be in the software center. – David Kohen Dec 11 '12 at 15:39

In there is an option to download a "Linux" version that is a tar.gz file which is the correct option in the case of Ubuntu.

However, it is possible to find 3rd party packages online that have Oracle Java packed as an installable package on Ubuntu, however, since these packages are from 3rd parties, trusting them is your responsibility.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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