LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2009, 11:23 PM   #1
Quads
Member
 
Registered: Jul 2008
Location: Indiana
Distribution: Fedora, Ubuntu, Slackware
Posts: 203

Rep: Reputation: 34
Java plugin to firefox


I have Java runtime 1.6 installed in Mandriva, but can't get the plugin for firefox to work.

I know you have to make a link in the /.mozilla directory, but I've never done such before and don't know if it worked, there is nothing there.

[root@Cory-desktop cory]# ls -s /opt/java/jre1.6.0_13/plugin/i386/ns7/libjavaplu
140 /opt/java/jre1.6.0_13/plugin/i386/ns7/libjavaplugin_oji.so*

/home/cory/.mozilla/plugins/:
total 0

obviously it isn't working right. What am I doing wrong here. Java -version shows java as working.
 
Old 04-24-2009, 11:42 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Making that link is something of the old days, it should pretty much work out of the box on any recent distro. Then again, I see you installed jre manually. You shouldn't unless you really need to and you know what you are doing.

As for the link, I'm afraid I don't see what you are doing there. The syntax is
ln -s source target
Now this would be your source:
/opt/java/jre1.6.0_13/plugin/i386/ns7/libjavaplugin_oji.so
the target would be:
/home/cory/.mozilla/plugins/
Although you would probably prefer the system-wide mozilla directory as a target (it should be under /usr/lib)

As for java working, that depends. Are you sure it is the Sun 1.6 version or another one?

Last edited by jay73; 04-24-2009 at 11:44 PM.
 
Old 04-25-2009, 12:44 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Ubuntu has huge repositories, which include java and the java plugin for firefox. Remove the java that you installed manually. Then make sure you have the universe and multiverse repositories enabled (system > administration > software_sources). Then just open a terminal and run:
Code:
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin
Or open synaptic package manager and search for and install those 2 packages.
Then restart Firefox.

Last edited by tommcd; 04-25-2009 at 01:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 04:09 PM
Java/Firefox java plugin not working with HP Webjetadmin iamskykid Linux - Software 2 03-02-2006 02:38 PM
Firefox 1.0.1 and Java 1.5 plugin: no go Kropotkin Linux - Software 8 03-19-2005 01:01 PM
java plugin for firefox wi_slacker Slackware 14 05-29-2004 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration