Trouble installing Java

Posted by BRKsays on Ask Ubuntu See other posts from Ask Ubuntu or by BRKsays
Published on 2012-05-07T13:30:30Z Indexed on 2012/10/10 21:56 UTC
Read the original article Hit count: 305

Filed under:
|
|

I am running Ubuntu 12.04 LTS. I wanted to install Java and so I downloaded the 32-bit self extracting .bin file from http://www.java.com and tried to install it according to their instruction.

First I made the file an executable one. Then created /usr/java/. After that I have to run this command: ./jre-7u<version>-linux-i586.bin.

But I'm stuck here. My Java version is Java 6 u32. When I enter the command it says "no such file or directory". What to do? Please help. Also I'm trying to install 32-bit Java on my 64-bit Precise. Could that possibly be the problem?

I tried to follow second answer by Jonas Christensen. I tried to open it, it says file is an unknown type. I tried the terminal command: ./jre-6u31-linux-i586.bin. But it gave this:

Unpacking...   
Checksumming...   
Extracting...   
./jre-6u32-linux-i586.bin: 86: ./jre-6u32-linux-i586.bin: ./install.sfx.5736: not found  
Failed to extract the files. Please refer to the Troubleshooting section of the Installation Instructions on the download page for more information.

© Ask Ubuntu or respective owner

Related posts about installation

Related posts about 12.04