LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2006, 10:21 PM   #1
zebragirl
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Rep: Reputation: 0
Question can't install java plug-in


root@edubuntu:~# rpm jre-1_5_0_06-linux-i586-rpm.rpm
bash: rpm: command not found


received the above error while following the directions below, with the exceptiion of using a different file. Everything worke great until I typed in the rpm command!! What's going on?

Using edubuntu breezy

how can i install this thing so I can use Java? - I really need it.
 
Old 03-29-2006, 10:49 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Does edubuntu use RPM's? RPM (Red Hat Package Manager) is typically associated with Red Hat based distros. I think edubuntu is Debian based. You may need to download and install the other java plugin (*.bin) and follow those directions.

http://java.com/en/download/help/500...selfextracting

You could open a terminal and type:

whereis rpm

To see if you have the RPM program.
 
Old 03-30-2006, 05:37 PM   #3
zebragirl
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
ok. i think i found rpm

root@edubuntu:~# rpm jre-1_5_0_06-linux-i586-rpm.rpm
bash: rpm: command not found
root@edubuntu:~# whereis rpm
rpm:

how do i get there? I noticed a ':' after it. In fact there are a number of different prompts. I am sure they are significant, so where do i go to learn about prompts?

Thanks.
 
Old 03-30-2006, 11:38 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
No. What you found is that you probably don't have rpm. The path(s) to rpm would follow the colon. For example, on my Fedora Core 4 machine:

[andrew@engbox]# whereis rpm
rpm: /bin/rpm /etc/rpm /usr/lib/rpm /usr/include/rpm

Type man whereis at the prompt to read about the whereis command or any other command for that matter. Note the last sentence in the description paragraph.

Another option is to use the find command. See example below.

[andrew@engbox]# find / -name rpm
/usr/lib/rpm
/usr/lib/python2.4/site-packages/rpm
/usr/share/mc/extfs/rpm
/usr/include/rpm
/var/lib/rpm
/bin/rpm
/backup/var/lib/rpm
/backup/bin/rpm
/backup/usr/include/rpm
/backup/usr/lib/python2.4/site-packages/rpm
/backup/usr/lib/rpm

Note that more locations are returned. Try to use the find command, although I believe the end result will be that you don't have the rpm package and will need to use the *.bin jre plugin.

Try http://www.die.net/doc/linux/man/
if you would like an on-line version of the man pages to reference. This link also describes other neato things like configuration files.
 
Old 03-31-2006, 12:14 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I have seen this thread go thru a few times, and hesitated to jump in because it looks to me like there is no hope of success, but maybe...

If the very simple instructions on the Ubuntu Guide don't work, you may need to do it like a real Debian user. I'm not sure how much Ubuntu is like Debian, but I'm sure it doesn't know anything about .rpm packages. You're going to have to download the binary file from Sun, and install it from scratch. There is a very good set of instructions for Debian, here. If Ubuntu hasn't gotten too far off the real thing, it will probably work, but you'll have to download some additional programs and follow instructions carefully. Can you do that?
 
Old 03-31-2006, 07:00 AM   #6
zebragirl
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
no hope for success??

Rick, you stated, "I have seen this thread go thru a few times, and hesitated to jump in because it looks to me like there is no hope of success, but maybe..."

Why do you think that? Do you think that I should kiss edubuntu good-bye for a better distro? Better supported?

I am so new to all of this I thought I would be better off with the more user friendly type, but maybe I'm wrong.

well,I tried both of your suggestions and neither was successful. I get "E: Couldn't find package java-package
"
Here's what I found: Isn't there a package on line 3?

root@edubuntu:/home/lenore/Desktop# find / -name java
/etc/alternatives/java
/var/lib/dpkg/alternatives/java
/usr/share/java
/usr/bin/java
/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/bin/java
/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre/bin/java
root@edubuntu:/home/lenore/Desktop#

I am sorry but I am VERY ignorant when it comes to linux. I need things literally spoon fed, word for word, what user to login as etc.... like I'm a baby. I want to learn, but feel overwhelmed and hope you understand.

I have some books coming soon on unix and linux so hopefully I will be able to understand more.

Until then, I'm searching the net (most of it is over my head) and relying on the user community to get my over this HUGE learning curve.

Feeling stupid
 
Old 03-31-2006, 07:06 AM   #7
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Rep: Reputation: 15
Quote:
Originally Posted by zebragirl
root@edubuntu:~# rpm jre-1_5_0_06-linux-i586-rpm.rpm
bash: rpm: command not found


received the above error while following the directions below, with the exceptiion of using a different file. Everything worke great until I typed in the rpm command!! What's going on?

Using edubuntu breezy

how can i install this thing so I can use Java? - I really need it.
There is no Option given in your command, what to do with this Package.
Try:

Code:
rpm -Uvh jre-1_5_0_06-linux-i586-rpm.rpm
or:
Code:
rpm -ivh jre-1_5_0_06-linux-i586-rpm.rpm
 
Old 03-31-2006, 07:41 AM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
no hope for success??
There is hope for success, don't give up! You can keep using Edubuntu and you will get the java working with help from LQ. Standby please....
 
Old 03-31-2006, 08:24 AM   #9
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Rep: Reputation: 30
First, why do you want to use the RPM version ?
Sun also provides a .bin version that's supposed to work on all distros, I strongly suggest you try that one
 
Old 03-31-2006, 04:56 PM   #10
zebragirl
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
ok. ready to slam head into wall or take slege hammer to computer.

I cut n pasted these two commands in rpm -ivh jre-1_5_0_06-linux-i586-rpm.rpm and rpm -Uvh jre-1_5_0_06-linux-i586-rpm.rpm and still get command not found. I am logged on as root.

Hey wait, the light went on, now i get it. I don't have rpm. Like Arow posted earlier, no path was returned when I typed in whereis rpm.

So, I can install the .bin I already downloaded it, I just don't have a clue how to. Anyone want to explain how.

I need info such as how to log on, and every detail possible, examples are the best for me.

I sure appreciate everyone taking the time to read this and reply. Hopefully one day I can help someone.(although right now I can't even fathoum it)
 
Old 03-31-2006, 05:29 PM   #11
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I had faith you'd figure this out...

Check this link for the step by step instructions from Sun to install bin (short for binary) version.

http://www.java.com/en/download/help...selfextracting

Once you've installed the jre plugin, follow this link (which is on Sun's webpage) to configure the plugin with your web browser.

http://www.java.com/en/download/help...500.xml#enable

The instructions for configuring and enabling the plugin only mention the Mozilla web browser. If you are using Mozilla, cool! If not, just replace Mozilla with the name of the web browser you are using. For example, Firefox. I will check back on the thread in a few hours to see how you're doing.
 
Old 04-01-2006, 01:56 AM   #12
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Rep: Reputation: 15
You can download rpm from here: http://www.rpm.org/
 
Old 04-03-2006, 03:47 PM   #13
zebragirl
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for all of the replies. I am so thankful.

Arow, thanks for having faith in me. I did follow those directions you suggested on the Sun sight and everything went well except for when I got to this point after the install was done.

cd /usr/lib/mozilla-1.4/plugins - I am using firefox. I plugged in firefox where mozilla is and received the following message:

root@edubuntu:/# cd /usr/lib/mozilla-1.4/plugins
bash: cd: /usr/lib/mozilla-1.4/plugins: No such file or directory
root@edubuntu:/# cd /usr/lib/firefox.1.gz/plugins
bash: cd: /usr/lib/firefox.1.gz/plugins: No such file or directory
root@edubuntu:/# cd /usr/lib/firefox/plugins
bash: cd: /usr/lib/firefox/plugins: No such file or directory
root@edubuntu:/# cd /usr/lib/firefox/plugin
bash: cd: /usr/lib/firefox/plugin: No such file or directory
root@edubuntu:/# cd /usr/lib/firefox.1.gz/plugin
bash: cd: /usr/lib/firefox.1.gz/plugin: No such file or directory

how do I find my darn plugings?
 
Old 04-03-2006, 06:16 PM   #14
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Find your firefox directory. An example of the command is below with the first few lines of output.

Quote:
sandbox:/# find /usr/lib/ -iname 'firefox*'
/usr/lib/firefox-1.0.4
/usr/lib/firefox-1.0.4/firefox
Then find out if there is a directory called plugins. An example of the command is below with part of the output. Note the d at the very beginning of the output line. This means plugins is a directory. On my system, all directories are also shown in blue, but the color may be different for yours.

Quote:
sandbox:/# ls -l /usr/lib/firefox-1.0.4
drwxr-xr-x 2 root root 4096 Mar 24 23:42 plugins
If you see that you have a directory named plugins, you're golden. Change to the plugins directory (see below) and finish following Sun's directions.

Quote:
sandbox:/# cd /usr/lib/firefox-1.0.4/plugins
sandbox:/usr/lib/firefox-1.0.4/plugins#
I can see from your previous post that you were on the right track. You knew enough to try a few variations on the path Sun provided. You've done well so far, Grasshoppa, you are almost there.

Good luck.
 
Old 04-09-2006, 10:57 AM   #15
zebragirl
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Exclamation followed directions but still not working!!!!!

I followed the directions from the java site, but i still get the message in firefox that addtional plugins are needed, specifically jre!!

I restarted my browser, even my computer just to be safe.

One thing I noticed is that the instructions are from Mozilla 1.4 and later or 1.2. I have Firefox 1.0.7. Is that the problem?

Do I have to install the new Firefox? It's a tar file. Not sure what this is yet. I got my books from the library and whew. I am OVERWHELMED!

Any suggestions???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java-VM plug-in doesn't install when it says it does... amphibious Linux - Software 1 04-22-2004 07:29 AM
How do I install java plug-ins? Skills Linux - Software 1 03-24-2004 02:56 PM
How to install java plug-in? timberwolf Mandriva 2 12-09-2003 04:01 AM
trying to install java plug-in rayflynn Linux - General 2 09-01-2001 01:38 PM
how to install java plug-in? bxb32001 Linux - Software 1 06-15-2001 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration