View Full Version : [ubuntu] Java install
DeathByChocolate
December 11th, 2008, 06:32 PM
Can I install Java? I downloaded the Linux "RPM self-extracting file". Is that OK on Ubuntu?
After "sudo ./jre-6u11-linux-i586-rpm.bin" I get the extracted jre-6u11-linux-i586-rpm file, and a message saying "rpm: not found".
Subsequent steps like "sudo ./rpm -lv jre-6u11-linux-i586-rpm" fail because rpm cannot be found.
Duck2006
December 11th, 2008, 06:40 PM
I found from the terminal installing
sudo aptitude install ubuntu-restricted-extras
was the easy way to install java.
m_l17
December 11th, 2008, 06:45 PM
Or follow the instructions on this thread:
http://ubuntuforums.org/showthread.php?t=766683
gandaran
December 11th, 2008, 06:47 PM
Can I install Java? I downloaded the Linux "RPM self-extracting file". Is that OK on Ubuntu?
After "sudo ./jre-6u11-linux-i586-rpm.bin" I get the extracted jre-6u11-linux-i586-rpm file, and a message saying "rpm: not found".
Subsequent steps like "sudo ./rpm -lv jre-6u11-linux-i586-rpm" fail because rpm cannot be found.
rpm's don't install in debian systens (ubuntu), to install java use the repositories, open synaptic, scroll down to sun-java6-plugin mark for install and hit the apply button, thats all, it'll install all necessary java packages,
Duck2006
December 11th, 2008, 06:49 PM
And there is this that may help with the *.rpm file.
http://www.psychocats.net/ubuntu/installingsoftware#lastresorts
Paqman
December 11th, 2008, 06:52 PM
+1 for ubuntu-restricted-extras
You can't normally install .rpm's on Ubuntu. They're designed for Red Hat-based distros. Ubuntu is based on Debian, so uses .deb's
dragos_iliescu_2005
December 11th, 2008, 06:52 PM
Best way, use synaptic. Select sun-java6-jre. Dependencies will be installed too.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.