Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
add comment

4 Answers 4

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
add comment

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
add comment

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
add comment

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:

~/Downloads/jre-6u31-linux-i586.bin 
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
add comment

Your Answer

 
discard

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.