LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-10-2007, 07:40 AM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
java control panel and firefox


I am doing kstart menu settings>java>advanced>command to launch browser.
What could I enter ther to launch my default browser firefox.

Last edited by paul62; 10-10-2007 at 07:26 PM. Reason: mistake
 
Old 10-10-2007, 11:52 AM   #2
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
I'm confused as to what exactly you want to do. Do you not have an listing in your kstart menu under Internet for Firefox?
 
Old 10-10-2007, 07:12 PM   #3
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
i am trying to get java control panel configured hopefully make java in firefox work right. I have java installed but I have ahd trouble connecting it to firefox and konqueror. I have a listing in my kstart menu for undeer internet for firefox

Last edited by paul62; 10-10-2007 at 07:14 PM.
 
Old 10-11-2007, 10:26 AM   #4
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Ah that's what you're trying to do. That's simple.

1) Locate the java installation. It should hopefully be in /usr/java
2) Assuming this is true run this command as root "ln -s /usr/java/jre*/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/libjavaplugin_oji.so" without the quotes. Please change the paths if yours are different.

If firefox is not in /usr/lib/firefox then change that to the location you have yours installed.
You could run "locate firefox/plugin" to find the path of your firefox installation. Please also verify where your java installation is at.
You could similarly do a "locate libjavaplugin_oji.so" to find that path and then you could substitute the full path rather than using the abbreviation I used "jre*"
Do this for any other browser you want java installed on. No need to reboot as usual. Just close the browser and start it back up.
 
Old 10-11-2007, 11:02 AM   #5
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
I am now getting this error message "ln: creating symbolic link `/usr/lib/firefox/plugins/libjavaplugin_oji.so': No such file or directory
". I appreciate the help.
 
Old 10-11-2007, 11:13 AM   #6
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
First, are you running that command as root user? Second, did you verify those paths that I wrote exist?
Try,
ls -l /usr/java/jre*/plugin/i386/ns7/libjavaplugin_oji.so
Then,
ls -l /usr/lib/firefox/plugins/

If either of those give errors then you need to locate the correct path for JAVA and FIREFOX. Let me know how that goes
 
Old 10-11-2007, 12:07 PM   #7
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
This is the output of theose commands

[root@localhost ~]# ls -l /usr/java/jre*/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 137085 2007-06-14 19:28 /usr/java/jre1.6.0_02/plugin/i386/ns7/libjavaplugin_oji.so
[root@localhost ~]#
[root@localhost ~]# ls -l /usr/lib/firefox/plugins/
ls: cannot access /usr/lib/firefox/plugins/: No such file or directory
[root@localhost ~]#


How coudl I create the directory for the pluginr help.
 
Old 10-11-2007, 02:31 PM   #8
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Okay what that is telling you is /usr/lib/firefox does not even exist. So if that doesn't exist then, /usr/lib/firefox/plugins is not going to exist.
Please run the command I explained above "locate firefox". That will shoot you a listing of every directory with the the name firefox in it. It's also quite possible it might be /usr/lib/firefox-2.0.7 or something like that. Either way RUN THAT COMMAND PLEASE.

Once you get the REAL path to firefox then you can use that in the "ln -s /usr/jav....."
 
Old 10-11-2007, 03:58 PM   #9
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
Would this be a correct path

"/usr/lib/firefox-2.0.0.5/plugins/libjavaplugin_oji.so"?

What would the command that I use be? Thsi is what I got when I did "locate" firefox.
 
Old 10-11-2007, 03:59 PM   #10
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
thank you, yes this would be the correct path.
PLEASE RUN THIS AS ROOT
ln -s /usr/java/jre*/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-2.0.0.5/plugins/libjavaplugin_oji.so

Close your browser, reopen it and you should have java functional. You can verify the plugin is found by typing this in your address bar in firefox "about: plugins" without the quotes and without a space. All one word. Please remove the space I put in between "about:" and "plugins". When you put ':' and 'p' together in this forum it turns it into ->

Last edited by shafty023; 10-11-2007 at 04:02 PM.
 
Old 10-13-2007, 08:16 AM   #11
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
I tried the command you gave me and I did aboutlugins, and still I do not see java listed.
 
Old 10-13-2007, 01:40 PM   #12
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Okay let's go step by step on this. Run this command, "/usr/lib/firefox-2.0.0.5/firefox" without quotes from a terminal. Once firefox launches. Type that about: plugins url without the space into your address bar. Look for java.

If you all of a sudden see it then that probably means you have 2 installations of firefox and by clicking your firefox icon on your desktop/K-menu you're launching the other one. If you still don't see it then please run this command and post output here "ls -l /usr/lib/firefox-2.0.0.5/plugins/" without quotes.
 
Old 10-13-2007, 07:39 PM   #13
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
[root@localhost ~]# ls -l /usr/lib/firefox-2.0.0.5/plugins
total 36
lrwxrwxrwx 1 root root 63 2007-09-29 22:47 libjavaplugin_oji.so -> ./jre-6u2-linux-i586-rpm.binplugin/i586/ns7/libjaaplugin_oji.so
-rwxr-xr-x 1 root root 18496 2007-07-18 01:24 libnullplugin.so
-rwxr-xr-x 1 root root 10752 2007-07-18 01:24 libunixprintplugin.so

This is the output of that command. I did not see java in aboutlugins
also when I di the other command you told me to do this is what I got
/usr/lib/firefox-2.0.0.5/firefox
bash: /usr/lib/firefox-2.0.0.5/firefox: No such file or directory

Last edited by paul62; 10-13-2007 at 07:53 PM.
 
Old 10-14-2007, 11:12 PM   #14
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Okay this means "/usr/lib/firefox-2.0.0.5" is not the path to your firefox installation. Please find the correct path and use that with the STEPS I outlined above. It's like you're putting in a new motor in your neighbors car and you're sitting in your car wondering why it doesn't drive faster. In other words, you installed that plugin into the wrong firefox directory and you're wondering why it doesn't show up in firefox. Please find the correct path. Use search from the KDE or GNOME and locate it. Once you think you found the directory use the file browser to make sure you find a "firefox" file in that directory else you're once again looking at an outdated directory. The newest version of firefox is 2.0.0.7 so see if "/usr/lib/firefox-2.0.0.7" exists
 
Old 10-15-2007, 11:19 PM   #15
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
This maybe the solution I am looking for, firefox 2.0.0.7 is installed
but version 2.0.0.5 is what is launching. How could I make sure 2.0.0.7 launches, this maybe where the plugins are installed.

Last edited by paul62; 10-16-2007 at 08:17 AM.
 
  


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
Control center (control panel) WayneS Suse/Novell 2 09-04-2006 04:53 PM
Control Panel error ashrafzia Fedora 1 07-31-2006 06:23 AM
control panel ballistic509 Debian 4 03-30-2006 04:04 PM
Looking for a control panel kuplo Linux - General 4 12-06-2005 03:50 PM
Control Panel Dovid Linux - Software 0 09-30-2003 12:35 PM


All times are GMT -5. The time now is 10:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration