?
Solved

problem getting java to work with firefox in linux

Posted on 2010-11-16
13
Medium Priority
?
399 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 2000 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
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 
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 35

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 35

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 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