0

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 java.com its file is the "rpm", not the "XXX.rpm.bin"

Now I have no idea about this.

Eric Carvalho
  • 55,453

1 Answers1

2

In oracle.com 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.