Java bin file won't install manually

I downloaded and install a java container documents by hand from here. After that I attempted to install it making use of the adhering to commands. Yet I am unable to install it. Can any person aid me to install by hand?

[email protected]:~/Downloads$ sh jdk-6u25-linux-i586.bin
Unpacking...
Checksumming...
Extracting...
jdk-6u25-linux-i586.bin: 113: ./install.sfx.5171: not found
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.


[email protected]:~/Downloads$ sudo ./jdk-6u25-linux-i586.bin
Unpacking...
Checksumming...
Extracting...
./jdk-6u25-linux-i586.bin: 113: ./install.sfx.5197: not found
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.

PS: My style is x86

4
2022-06-07 15:17:30
Source Share
Answers: 1

First, re - double - check that you are mounting 32 - little bit Java on a 32 - little bit OS (or mounting 64 - little bit Java on a 64 - little bit OS). While it is feasible to install 32 - little bit Java on 64 - little bit Linux, generally there is no factor to (and also you require to install added dependences to do it).

2nd, clean up the old removed documents if the first installation effort falls short. Yo should not need to "sudo" to install.

Third, do not attempt to "sh" the installer ; rather, simply make it executable (consequently you aren't relying upon locating the appropriate "sh" in your PATH):

$ chmod a+x ./jdk-6u25-linux-i586.bin
$ ./jdk-6u25-linux-i586.bin

Lastly, although you intend to by hand install the jdk.bin, you can first attempt to install the packaged JDK, to see to it you have all the dependences. Relying on your variation of Ubuntu, you could simply have the ability to:

sudo apt-get update
sudo apt-get install sun-java6-jdk

You could need to add a ppa database (pre - 10.04) or enable "partner" databases (10.04/10.10 or later on). This has actually transformed a little bit from variation to variation (of ubuntu). (See: https://stackoverflow.com/questions/3747789/how-to-install-sun-jdk-on-ubuntu-10-10-maverick-meerkat)

4
2022-06-07 17:23:52
Source