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'm new with Ubuntu, and I just downloaded Java from here:

And I am trying to follow this instal guide:

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

share|improve this question
up vote 2 down vote accepted

I think you're compiling java from source, which means you get the latest version, but it's quite difficult to do. Instead, install ubuntu-restricted-extras, which will install openjdk (an open source version of Java) from the terminal (sudo apt-get install ubuntu-restricted-extras) or from the Ubuntu Software Centre - It takes quite a while, but it'll install most of the plugins and codecs most people use.

share|improve this answer
Thanks, that was a lot easier :) – 1kb Apr 16 '12 at 17:59

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.

share|improve this answer

If you are stuck at this step please follow this in order to continue with the procedure:

  1. First: change to the directory on which you have the file by entering cd Downloads (in case that you have it on the Downloads folder), otherwise use the path in order to gain access to the file's folder.
  2. Now drop the command in a terminal using 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!

share|improve this answer

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:

chmod +x ~/Downloads/jre-6u31-linux-i586.bin 

And the command to execute (install) is:

share|improve this answer
Is it really bundled? I thought that just Flash was supplied with Chrome. – Lekensteyn Apr 16 '12 at 17:09
You are right. I'm sorry for the confusion. I have fixed the answer. – desgua Apr 16 '12 at 22:38

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.