I'm new with Ubuntu, and I just downloaded Java from here: http://java.com/en/download/linux_manual.jsp
And I am trying to follow this instal guide:
http://java.com/en/download/help/linux_install.xml#selfextracting
But I'm not getting anywhere. After typing chmod a+x jre-6u31-linux-i586.bin
it says "No such file or directory"
I'm using Ubuntu 11.10, 32bit
Java is packaged already in the Ubuntu repositories within the
ubuntu-restricted-extras
package which you can install in this way:Or from the Ubuntu Software Centre.
Alternatively, if you already have a lot installed and Ubuntu-restriced-extra has conflicts with software already on your computer, you can follow instructions here.
Or just click here to open Software Center to where you can install IcedTea6-plugin.
The problem you may have is that you must specify which folder you download is. Supposing it is inside Home > Downloads, then the command to set the permission to execute is:
And the command to execute (install) is:
If you are stuck at this step please follow this in order to continue with the procedure:
sudo chmod a+x ./jre-6u31-linux-i586.bin
If everything runs fine you will be able to continue with your install guide with no problems.
Note: running commands into local files differs a little from Windows to linux. And you must specify the full path to the file even if you are currently on it.
Good luck!