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. |
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. |
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. |
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. |
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? |
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 :cry: |
Quote:
Try: Code:
rpm -Uvh jre-1_5_0_06-linux-i586-rpm.rpm Code:
rpm -ivh jre-1_5_0_06-linux-i586-rpm.rpm |
Quote:
|
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 :) |
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) |
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.:cool: |
You can download rpm from here: http://www.rpm.org/
|
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? |
Find your firefox directory. An example of the command is below with the first few lines of output.
Quote:
Quote:
Quote:
Good luck. |
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??? |
All times are GMT -5. The time now is 12:36 PM. |