How do i install java on ubuntu? easy question?
Tuesday, January 12th, 2010 at
14:49
hi there, i have just installed java. dont know anything about it at all. i have downloaded the file: jre-6u14-linux-i586-rpm.bin
i don’t know how to install it and i would really like to know how. so please could someone help me?
please give a simple answer as i do not understand anything here
Tagged with: Linux • rpm • simple answer
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
Well, the first problem is that Ubuntu does not really support rpm.bin files. The second thing is that Java is installable using Synaptic or the Add/Remove application.
You should try installing the package sun-java6-jre.
If you don’t know how, open up a Terminal window, and type the following:
sudo apt-get install sun-java6-jre
Press enter, it will ask for your password, enter it, and press Y when asked if you want to install.
Or you can install via
Applications, Add/Remove, type the name java and check the Java Runtime enviroment, and it downloads it for you and install it!
Here are instructions. You are going to need to open up the Terminal to do this. http://www.64bitjungle.com/ubuntu/install-java-jre-160-update-x-on-hardy-as-the-default-java-runtime/
Whatever update manager you use — whether Synaptic or wajig or Update Manager or pat or something else, search for jre or java there and install that version. RPM files are for Fedora Core Linux which is a WHOLE different distribution.
I could tell you how to run your bin file but it wouldn’t help. You want a file with the extention .deb. You get it from Ubuntu repositories, not Sun Microsystems.
To install Java on Ubuntu open the Terminal and submit the following command
sudo apt-get install ubuntu-restricted-extras
Java is contained within this package amongst many other useful plugins/codecs and features
https://help.ubuntu.com/community/RestrictedFormats/
LUg.