Solved

problem getting java to work with firefox in linux

Posted on 2010-11-16
13
398 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 35

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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 35

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

707 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