Solved

problem getting java to work with firefox in linux

Posted on 2010-11-16
13
380 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
  • 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
 
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Google Chrome Crashes 6 44
PC upgrade to Linux Mint 7 36
maven project error 5 21
Java Loop 4 20
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now