LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2006, 09:49 PM   #1
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Rep: Reputation: 0
Java Plug-in Firefox


"The filename "jre-1_5_0_06-linux-i586-1.bin" indicates that this file is of type "unknown". The contents of the file indicate that the file is of type "shell script". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "shell script", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file."

It Supposed to be a self-extracting file? What do I change the extention to? This error is Greek to me. Please help.
 
Old 03-18-2006, 09:54 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
it tells you on the java site exactly what to do with the file, and where to do it... follow it closely
 
Old 03-18-2006, 10:17 PM   #3
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
Sorry, I didn't realize that link was there till you said that. Now I'm attempting to follow the instructions but I'm not yet familiar with the File system.. IS there some kind of search feature? Cause for the life of me I cannot find the firefox(mozilla) Directory...

I've been at this a very long time. I am trying to learn it on my own.. but it's confusing.
 
Old 03-18-2006, 10:21 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
as root you could try 'find / -name firefox' or 'mozilla' instead of firefox... try 'whereis firefox' that might lead you to the right direction. its probably in /usr/mozilla/.. if i can guess right
 
Old 03-18-2006, 10:31 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
These are the folders on my machine that I created the Java library links in...

Firefox -----> /usr/lib/firefox-1.0.4/plugins

Moxilla -----> /usr/lib/mozilla-1.7.8/plugins

Yours may be different.
 
Old 03-18-2006, 10:37 PM   #6
whiskeyfire
LQ Newbie
 
Registered: Mar 2006
Distribution: Fedora 4
Posts: 14

Rep: Reputation: 0
to change
chmod a+x jre-1_5_0_06-linux-i586-rpm.bin change .exe

to install

./jre-1_5_0_06-linux-i586-rpm.bin
 
Old 03-18-2006, 10:55 PM   #7
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
Well thanks. I will try again tomorrow.. I followed all the directions and must have screwed up somewhere. *AAAAARRRRGHHHHHHH!* this is my 5 or sixth try at this.

I think i might have gotten the wrong file or something.

Thanks I learned to use the find command at least.
 
Old 03-19-2006, 08:42 PM   #8
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.


hmm I'm trying agin. More errors I dunno what they mean.

ok 1st.. how do I know I downloaded the right file?

2nd.. it said it installed and I got the terms of service etc. is it possible I installed it in the wrong place?

3rd.. The find thing found these firefox things
/home/user/.mozilla/firefox
/usr/lib/firefox-1.0.4/firefox
/usr/bin/firefox
/root/.mozilla/firefox
I used the one that says /usr/lib/firefox-1.0.4/firefox because when I checked it it hd a plugins in it and that is the version of firefox I'm using.
Was that the wrong place?

I'm very frustrated.. been trying this for a week now and I just don't understand what I'm doing, what the commands mean or what I am doing wrong from the instructions.

Last edited by Syele; 03-19-2006 at 09:00 PM.
 
Old 03-19-2006, 09:27 PM   #9
PipeDreams
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006 x64
Posts: 161

Rep: Reputation: 30
Syele,
I cannot help you greatly but I can tell you that you are trying to do the hardest thing that I tried to do when I first starting using linux.

This seems to be a really easy thing for a lot of people on this board to do.Not me.I use mandriva mostly by the way.

I think the find file utilities stink.I seem to have to know the exact path to the file to use the utilities successfully.(GUI utilities not command line)...Why do I need the utilities?

You do need to follow the instructions on the java site exactly BUT the examples they give you of the commands are generic.You will need to edit them to match your exact downloaded RPM name.

I might get flamed for saying this but I saw somewhere that I could buy(gasp) a universal java install disc for $10.If its a one click install I think I will get it next time I run across it.

What distro are you using?

Good Luck.
 
Old 03-19-2006, 09:41 PM   #10
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
I see references to red hat... my login screen says fedora Core... I think I'm using the gnome enviroment.

It's comforting to know I'm not alone in this seeming so hard. I'm beginning to wonder if it's worth it to do all this just to use java applets in my browser!
 
Old 03-19-2006, 09:49 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
i wasnt aware you were still having problems with this... i think you should start over fresh (with this java plugin installation i mean). your distro and desktop environment (gnome or kde or etc...) shouldnt matter.

download the jre file (executable binary one.. the .bin). then visit this web site here.

follow exactly what it says. if you get stuck at ANY part in the installation, dont continue.. post here in this thread and tell us at what step, and what errors you got. for step to (the change directory one), you could install it in /usr/local/ or /usr/share or anywhere actually..

then of course, this is the link to instructions for setting up the plugin, click

Last edited by nadroj; 03-19-2006 at 09:55 PM.
 
Old 03-19-2006, 10:20 PM   #12
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
THANK YOU! That site had way better instructions than what I was trying to follow before.

Now I'm onto Setting it up...

" 2. For the Mozilla browser create a symbolic link to the Plug-in in the Mozilla plugins directory.

Create a symbolic link to the Java Plug-in libjavaplugin.so file in the Mozilla plugins directory.

cd <Mozilla>/plugins
ln -s <JRE>/plugin/i386/<ns7 | ns7-gcc29>/libjavaplugin_oji.so .

In the ln command line above, use ns7-gcc29 if Mozilla was compiled with gcc2.9.

Be sure to include the period at the end."
--------------------
I'm assuming I first cd /usr/lib/firefox-1.0.4/plugins
but the next line baffles me:
"ln -s <JRE>/plugin/i386/<ns7 | ns7-gcc29>/libjavaplugin_oji.so ."
by Jre do they mean the file I origionally downloaded? what is <ns7 | ns7-gcc29> ??

I have no idea what firefox was complied with.
 
Old 03-19-2006, 10:28 PM   #13
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
if you have the latest firefox, id assume it would have been compiled with a newer version of gcc than 2.9.. so dont use the 29 one.
the <JRE> portion is saying substitute <JRE> with the path to your java installation. so the full command could be something like this (depending on where you installed jre of course):
Code:
ln -s /usr/jre-1_5_0_06/plugin/i386/ns7/libjavaplugin_oji.so .
hope this helps

edit: your assumption was right... if of course that is the folder where firefox is installed.

also, you should always follow the documentation/instructions from the official source before resorting to others.

Last edited by nadroj; 03-19-2006 at 10:30 PM.
 
Old 03-19-2006, 10:34 PM   #14
Syele
LQ Newbie
 
Registered: Feb 2006
Location: New Mexico
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
I only have firefox 1.0.4 I think the new one is 1.5?

Heres what I got now:
[root@localhost user]# cd /usr/lib/firefox-1.0.4/plugins
[root@localhost plugins]# ln -s /usr/jre-1_5_0_06/plugin/i386/ns7/libjavaplugin_oji.so .
ln: `./libjavaplugin_oji.so': File exists
[root@localhost plugins]# ln -s /usr/lib/firefox-1.0.4/plugins/jre-1_5_0_06/plugin/i386/ns7/libjavaplugin_oji.so .
ln: `./libjavaplugin_oji.so': File exists
 
Old 03-19-2006, 10:38 PM   #15
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
did you do step #1 in the instructions from the link i gave you, to remove previous plugins?

i think you should be fine using what we have setup, for your lower version of firefox. what distrobution are you using? you could use your package manager to update to the latest firefox, quite easily.

if its saying the link is already there (and you followed all directions) then you should open up firefox and test it out.
 
  


Reply



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
Plug ins and Firefox Veteq Linux - Newbie 2 11-26-2005 11:51 PM
Need help with Firefox java plug-in m_lp_ql_m Linux - Software 12 05-10-2005 02:51 AM
Quicktime plug-in for Firefox Lasker Linux - Software 2 05-06-2005 05:43 PM
Java Plug-in for FireFox chinaundead Linux - Software 2 03-22-2004 06:34 AM
Java plug in HwzrHlslndr Linux - General 10 06-20-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 AM.

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