Solved

problem getting java to work with firefox in linux

Posted on 2010-11-16
13
391 Views
Last Modified: 2012-05-10
I'm trying to get java plugin to work with firefox but it doesn't seem to be working.
I'm running CentOS 5.5 x64 (as root)

I download java 6 update 22 bin and extracted to /opt.

In ~/.mozilla/plugins i created symlink to /opt/jre1.6.0_22/lib/amd64/libjavaplugin_jni.so and restarted firefox.  the plugins page doesn't show it and going to java site to verify only causes firefox to say plugin is missing and directs to the same java download page.

Just as a test, I deleted the jre folder under /opt, download the 32bit jre and extracted it there, created new symlink in plugins folder for the plugin file and firefox still doesn't show the plugin.

Shouldn't it work?  Am i missing something?
0
Comment
Question by:Seth Simmons
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
13 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 500 total points
ID: 34148471
>>libjavaplugin_jni.so

Doesn't look like the right library
0
 
LVL 34

Author Comment

by:Seth Simmons
ID: 34148686
hmm...that was the only file i could find with plugin in the name
0
 
LVL 16

Expert Comment

by:medvedd
ID: 34148873
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 34

Accepted Solution

by:
Seth Simmons earned 0 total points
ID: 34149250

seems they made some changes as of update 12; created symlink to the other file and it's now working

http://plugindoc.mozdev.org/linux-amd64.html#java-sun
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34149387
So it *wasn't* the right file was it...
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 34149565
:medvedd: thanks for your comment. I've been running Firefox 3.5 because I couldn't get java in 3.6 - the link you posted would seem to explain that. The instructions therein look to me as if they should work for x86_64 as well. seth2740: do they work or not?
0
 
LVL 16

Expert Comment

by:medvedd
ID: 34154774
OK, get it working for Firefox 3.6.12 and Java 6-22.
Start firefox, in about:config make sure that

java.java_plugin_library_name is javaplugin

Then in your plugins directory:

ln -s /usr/java/jre1.6.0_22/lib/i386/libnpjp2.so libjavaplugin.so

Can't find firefox 3.6.12 64 bit, but it should similar.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34154801
Mentioned that the file was wrong
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 34186286
:medvedd: thanks again. It worked a treat, even with Java 6-21.
If I were you, I'd be objecting again - you actually gave an answer and IMHO you deserve the points
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34186939
Yes, it's quite possible that others are deserving of points too. A split is fine by me
0
 

Expert Comment

by:_alias99
ID: 34216191
All,
 
Following an 'Objection' by CEHJ (at http://www.experts-exchange.com/Q_26621068.html) to the intended closure of this question, it has been reviewed by at least one Moderator and is being closed by accepting the author's answer and awarding points to an Experts comment as an assisted answer.
 
At this point I am going to re-start the auto-close procedure.
 
Thank you,
 
_alias99
Community Support Moderator
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question