LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-30-2010, 03:27 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
Fedora 12 firefox java plugin


Hello.

Java is not working in Firefox.

Do I not have Java installed correctly ?

Code:
[root@jonas jonas]# ls -l /usr/lib/mozilla/plugins
total 352
lrwxrwxrwx. 1 root root     39 2010-06-26 10:16 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx. 1 root root     34 2010-06-22 11:41 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so

[root@jonas jonas]# ls -l /etc/alternatives/ | grep libjavaplugin
lrwxrwxrwx. 1 root root 56 2010-06-22 11:41 libjavaplugin.so -> /usr/lib/jvm/jre-1.6.0-openjdk/lib/i386/IcedTeaPlugin.so
 
Old 06-30-2010, 05:40 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Try http://www.java.com/en/download/installed.jsp in Firefox to test Java support (just click on the "Verify Java Version" button).

Also, isn't there a folder /usr/lib/firefox-*/?
 
Old 06-30-2010, 05:46 AM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
It seems I do not have the very latest version of Java.

Quote:
Originally Posted by timmeke View Post
Also, isn't there a folder /usr/lib/firefox-*/?
Code:
[root@jonas jonas]# ls -l /usr/lib/firefox-3.5/
total 188
-rw-r--r--.  1 root root  2032 2010-06-23 16:18 application.ini
-rw-r--r--.  1 root root  2530 2010-06-23 16:18 blocklist.xml
-rw-r--r--.  1 root root    57 2010-06-23 16:18 browserconfig.properties
drwxr-xr-x.  3 root root  4096 2010-06-26 09:59 chrome
drwxr-xr-x.  2 root root  4096 2010-06-26 09:59 components
drwxr-xr-x.  4 root root  4096 2010-06-23 16:18 defaults
drwxr-xr-x. 76 root root  4096 2010-06-23 16:18 extensions
-rwxr-xr-x.  1 root root 90148 2010-06-23 16:18 firefox
drwxr-xr-x.  2 root root  4096 2010-06-26 09:59 icons
-rw-r--r--.  1 root root 30826 2010-05-04 17:55 LICENSE
drwxr-xr-x.  2 root root  4096 2010-06-26 09:59 modules
-rw-r--r--.  1 root root   112 2010-06-23 16:18 old-homepage-default.properties
-rw-r--r--.  1 root root   177 2010-06-23 16:18 README.txt
-rwxr-xr-x.  1 root root 10450 2010-06-23 16:18 run-mozilla.sh
drwxr-xr-x.  2 root root  4096 2010-06-26 09:59 searchplugins
-rw-r--r--.  1 root root   143 2010-06-23 16:18 updater.ini
No plugin-folder though...
 
Old 06-30-2010, 05:55 AM   #4
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 41
Also make sure you have all the other proper Java programs and libs installed.

Sometimes more than one java is installed (as a system choice).. so you might want to view the: update-alternatives --config java, command, to see what is going on there.

OpenJdk is usually the best choice for me for my system java.. and I use gcj v. 0.92 in my mozilla broswers java,(ff and seamonkey).

Also make sure you have only one java plugin installed, even if it doesn't show up in your aboutlugins.

I'm not sure about fed, but in debian the 64 bit version of the plugin needs to be manually installed... but I'm not sure.. it's been awhile since I'v had to mess with it... either way, in debian it (libgcjwebplugin.so) gets placed in:
/usr/lib/mozilla/plugins/

Last edited by halvy; 06-30-2010 at 06:02 AM.
 
Old 06-30-2010, 01:59 PM   #5
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Code:
[root@jonas jonas]# update-alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
   2           /usr/lib/jvm/jre-1.5.0-gcj/bin/java
about plugins shows :

IcedTea NPR Web Browser Plugin (using IcedTea6 1.8 (fedora-39.b18.fc12-i386))

File name: IcedTeaPlugin.so
The IcedTea NPR Web Browser Plugin (using IcedTea6 1.8 (fedora-39.b18.fc12-i386)) executes Java applets.
 
Old 06-30-2010, 03:03 PM   #6
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 41
Then try what I suggested.. unless/until someone with Fedora experience suggests otherwise.
 
Old 06-30-2010, 04:30 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
jonaskellens have you updated fedora 12 ??
it looks like you have firefox 3.5 installed ???
the current is firefox 3.6.6
 
Old 07-01-2010, 02:40 AM   #8
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by John VV View Post
jonaskellens have you updated fedora 12 ??
it looks like you have firefox 3.5 installed ???
the current is firefox 3.6.6
Code:
[root@jonas jonas]# yum install firefox
Loaded plugins: presto, refresh-packagekit, remove-with-leaves
http://rpm.livna.org/repo/12/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - ""
Trying other mirror.
livna                                                                                                                                | 3.2 kB     00:00     
rpmfusion-free-updates                                                                                                               | 2.8 kB     00:00     
rpmfusion-nonfree-updates                                                                                                            | 2.8 kB     00:00     
updates/metalink                                                                                                                     |  21 kB     00:00     
Setting up Install Process
Package firefox-3.5.10-1.fc12.i686 already installed and latest version
Nothing to do

[root@jonas jonas]# yum install firefox
Loaded plugins: presto, refresh-packagekit, remove-with-leaves
Setting up Install Process
Package firefox-3.5.10-1.fc12.i686 already installed and latest version
Nothing to do
 
  


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 plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 03:13 AM
Java plugin to firefox Quads Linux - Newbie 2 04-25-2009 01:44 AM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 05:09 PM
Java/Firefox java plugin not working with HP Webjetadmin iamskykid Linux - Software 2 03-02-2006 03:38 PM
Installing Java plugin - firefox - Fedora Core 2 rickh Fedora 11 06-27-2004 01:42 PM


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