Solved

problem getting java to work with firefox in linux

Posted on 2010-11-16
13
383 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

809 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