Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old July 27th, 2008   #1
nathanscottdaniels
Just Give Me the Beans!
 
nathanscottdaniels's Avatar
 
Join Date: Jan 2008
Location: Georgia
Beans: 63
Ubuntu 8.04 Hardy Heron
Unhappy Need help installing java onto my 8.04

Okay, I did everything this guide said to:

http://java.com/en/download/help/5000010500.xml#rpm

I had to sudo apt-get the rpm thing along the way but I managed to get to step 7 before having problems. Here is what my terminal says...

Code:
nathan@nathan-laptop:/usr/Java$ sudo rpm -iv jre-6u7-linux-i586.rpm
[sudo] password for nathan: 
error: Failed dependencies:
	/bin/basename is needed by jre-1.6.0_07-fcs.i586
	/bin/cat is needed by jre-1.6.0_07-fcs.i586
	/bin/cp is needed by jre-1.6.0_07-fcs.i586
	/bin/gawk is needed by jre-1.6.0_07-fcs.i586
	/bin/grep is needed by jre-1.6.0_07-fcs.i586
	/bin/ln is needed by jre-1.6.0_07-fcs.i586
	/bin/ls is needed by jre-1.6.0_07-fcs.i586
	/bin/mkdir is needed by jre-1.6.0_07-fcs.i586
	/bin/mv is needed by jre-1.6.0_07-fcs.i586
	/bin/pwd is needed by jre-1.6.0_07-fcs.i586
	/bin/rm is needed by jre-1.6.0_07-fcs.i586
	/bin/sed is needed by jre-1.6.0_07-fcs.i586
	/bin/sort is needed by jre-1.6.0_07-fcs.i586
	/bin/touch is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/cut is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/dirname is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/expr is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/find is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/tail is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/tr is needed by jre-1.6.0_07-fcs.i586
	/usr/bin/wc is needed by jre-1.6.0_07-fcs.i586
	/bin/sh is needed by jre-1.6.0_07-fcs.i586
nathan@nathan-laptop:/usr/Java$
I have no idea what it is talking about. I followed the directions on the Java site perfectly. What do I need to do? Gah! I miss automated installation files!
nathanscottdaniels is offline   Reply With Quote
Old July 27th, 2008   #2
tuxxy
Tall Cafè Ubuntu
 
tuxxy's Avatar
 
Join Date: Jun 2008
Location: England
Beans: 2,567
Ubuntu Karmic Koala (testing)
Re: Need help installing java onto my 8.04

I just replied to this topic which is about installing java;

http://ubuntuforums.org/showthread.p...76#post5471376
__________________
64-Bit User-Group // Twin-View AMD64 X2 6000+|Geforce 9500GT 1024 MB|8GB PC2-6400 DDR2|500GB Seagate SATA // AMD64 X2 4400+|Geforce 8600GTS |4GB PC2-6400 DDR2|360GB Samsung SATA // Ubuntu 9.04 & 9.10 64-Bit
tuxxy is offline   Reply With Quote
Old July 27th, 2008   #3
jay019
A Carafe of Ubuntu
 
jay019's Avatar
 
Join Date: Feb 2007
Location: South Australia
Beans: 136
Ubuntu 7.04 Feisty Fawn
Re: Need help installing java onto my 8.04

Personally I prefer to download the .bin file and run that. Installs into your home directory and with a bit of .bashrc editing its good to go. Alternatively have you tried the java in the ubuntu repos?
__________________
Ubuntu 7.04 on Toshiba Satellite M110/L00.
http://www.myspace.com/dnb_jay019 - http://jay019.com/
jay019 is offline   Reply With Quote
Old July 27th, 2008   #4
UltraMathMan
Way Too Much Ubuntu
 
UltraMathMan's Avatar
 
Join Date: Jul 2006
Location: United States
Beans: 306
Ubuntu 9.04 Jaunty Jackalope
Re: Need help installing java onto my 8.04

First make sure the multiverse repository is enabled by going to

System->Administration->Synaptic Package Manager->Settings->Repositories

Then close Synaptic and open a terminal (Applications->Accessories->Terminal) and type
Code:
sudo apt-get update && sudo apt-get install sun-java6-jre
Enter your password and sit back while Java 6 is installed.

-Hope this helps
__________________
Registered Linux User #423733 / Registered Ubuntu User #4140
UltraMathMan is offline   Reply With Quote
Old July 27th, 2008   #5
nathanscottdaniels
Just Give Me the Beans!
 
nathanscottdaniels's Avatar
 
Join Date: Jan 2008
Location: Georgia
Beans: 63
Ubuntu 8.04 Hardy Heron
Re: Need help installing java onto my 8.04

Quote:
Originally Posted by UltraMathMan View Post
First make sure the multiverse repository is enabled by going to

System->Administration->Synaptic Package Manager->Settings->Repositories

Then close Synaptic and open a terminal (Applications->Accessories->Terminal) and type
Code:
sudo apt-get update && sudo apt-get install sun-java6-jre
Enter your password and sit back while Java 6 is installed.

-Hope this helps
Sweet! Thank you!

Now how do I get Firefox to recognize it?
nathanscottdaniels is offline   Reply With Quote
Old July 28th, 2008   #6
tuxxy
Tall Cafè Ubuntu
 
tuxxy's Avatar
 
Join Date: Jun 2008
Location: England
Beans: 2,567
Ubuntu Karmic Koala (testing)
Re: Need help installing java onto my 8.04

You need to move the java web plugin to your firefox plugins folder, usually in the /usr/lib/ dir

Type about: plugins in firefox to check if it is working.
__________________
64-Bit User-Group // Twin-View AMD64 X2 6000+|Geforce 9500GT 1024 MB|8GB PC2-6400 DDR2|500GB Seagate SATA // AMD64 X2 4400+|Geforce 8600GTS |4GB PC2-6400 DDR2|360GB Samsung SATA // Ubuntu 9.04 & 9.10 64-Bit
tuxxy is offline   Reply With Quote
Old July 28th, 2008   #7
knightcoder
Just Give Me the Beans!
 
knightcoder's Avatar
 
Join Date: Oct 2007
Beans: 75
Ubuntu 7.04 Feisty Fawn
Re: Need help installing java onto my 8.04

Check this out man..

http://www.java.com/en/download/help/5000012300.xml

Under the "Create a new symbolic link", don't forget the "." at the end in the command

Code:
ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7
/libjavaplugin_oji.so .
__________________

Hack the Planet
knightcoder is offline   Reply With Quote
Old July 29th, 2008   #8
nathanscottdaniels
Just Give Me the Beans!
 
nathanscottdaniels's Avatar
 
Join Date: Jan 2008
Location: Georgia
Beans: 63
Ubuntu 8.04 Hardy Heron
Re: Need help installing java onto my 8.04

Quote:
Originally Posted by knightcoder View Post
Check this out man..

http://www.java.com/en/download/help/5000012300.xml

Under the "Create a new symbolic link", don't forget the "." at the end in the command

Code:
ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7
/libjavaplugin_oji.so .
Well, I am having two problems. One is, I haven't the foggiest idea where my Java installation directory is and the second is I did a search of my HDD and I could not find the libjavaplugin_oji.so file.
nathanscottdaniels is offline   Reply With Quote
Old July 31st, 2008   #9
camino3701
Spilled the Beans
 
Join Date: Jul 2008
Beans: 13
Re: Need help installing java onto my 8.04

where do I find the /usr/lib/dir ? I have java in OS but cannot get it into Firefox. the Java web site test says it's installed and working but Firefox does not show it as plugin installed. THANK YOU

RLB
camino3701 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:49 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry