LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 12 firefox java plugin (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-12-firefox-java-plugin-817118/)

jonaskellens 06-30-2010 03:27 AM

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


timmeke 06-30-2010 05:40 AM

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-*/?

jonaskellens 06-30-2010 05:46 AM

It seems I do not have the very latest version of Java.

Quote:

Originally Posted by timmeke (Post 4019140)
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...

halvy 06-30-2010 05:55 AM

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 about:plugins.

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/

jonaskellens 06-30-2010 01:59 PM

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.

halvy 06-30-2010 03:03 PM

Then try what I suggested.. unless/until someone with Fedora experience suggests otherwise.

John VV 06-30-2010 04:30 PM

jonaskellens have you updated fedora 12 ??
it looks like you have firefox 3.5 installed ???
the current is firefox 3.6.6

jonaskellens 07-01-2010 02:40 AM

Quote:

Originally Posted by John VV (Post 4019757)
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



All times are GMT -5. The time now is 11:12 AM.