Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-20-2005, 03:30 AM   #1
Registered: Aug 2003
Location: Finland
Distribution: Fedora 14, Ubuntu 10.4 LTS
Posts: 65

Rep: Reputation: 15
java plugin for firefox

Well, whaddaya know, I have a problem.

I downloaded Java 1_5_0 JDK package and I can compile and run Java programs but I cant seem to get Java working with Firefox. So my big question is:

How do I turn the Java plugin on for Firefox. (FYI, running FC3 now, with Firefox 1.0).

Old 02-20-2005, 03:42 AM   #2
Registered: Jan 2005
Posts: 201

Rep: Reputation: 30

I had kinda same problem.
To solve it delete your Java 1.5.0JDK and replace it for a j2sdk1.4.2_07 (that's mine ^^ )

$ ln -s /usr/java/j2sdk1.4.2_07/jre/plugin/i386/ns610-gcc32/ /usr/lib/firefox-<yourversion>/plugins

If you have any browsers running close them and restart after the ln -s

you succesfully installed Java on Firefox

Old 02-20-2005, 03:54 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
jdk 1.5 works fine for me using Firefox 1.0 on FC3. Just follow the instructions above but alter the paths to suite the version of jdk you have installed.
Old 02-20-2005, 04:39 AM   #4
Registered: Aug 2003
Location: Finland
Distribution: Fedora 14, Ubuntu 10.4 LTS
Posts: 65

Original Poster
Rep: Reputation: 15

Thanx a lot, guys! Now Java works with my Firefox browser. I was stumped there for a while... I have just started to get into Java, and this stuff is new to me - as is Linux stuff, too, although I've been running a Linux workstation for a while here.
Old 06-07-2005, 09:13 PM   #5
LQ Newbie
Registered: Jun 2004
Posts: 7

Rep: Reputation: 0
jdk version 1.5.0_01 doesn't have the plugin mentioned above.
the following works with jdk1.5.0_01 and firefox 1.0.4

root@localhost# ln -s /usr/java/jdk1.5.0_01/jre/plugin/i386/ns7/ \

use of the other plugin in the jdk (ns7-gcc29/ caused firefox to fail to start.
Old 06-13-2005, 09:56 PM   #6
Registered: Sep 2003
Distribution: rh6-9 fc1-5
Posts: 34

Rep: Reputation: 15
Originally posted by reddazz
jdk 1.5 works fine for me using Firefox 1.0 on FC3. Just follow the instructions above but alter the paths to suite the version of jdk you have installed.
Which versions do you use?

I have firefox-1.0.4-1.3.1 from Fedora update, and installed jdk 1.5.0_03-b07 from into /usr/local. I symlinked from plugins/ns7/lib... to /usr/lib/mozilla/plugins, and url:aboutlugins show that it loads and activates java 1.5.0. But when I try to run any java applet, the following file is created: plugin_stack.trace which contains

at sun.plugin.AppletViewer.initEnvironment(
at sun.plugin.navig.motif.Plugin.doit(
at sun.plugin.navig.motif.Plugin.start(

and no applet window appears on the screen.

I set JAVA_HOME to /usr/local/jdk1.5, NPX_PLUGIN_PATH to /usr/lib/mozilla/plugins:/usr/local/jdk1.5/jre/plugin, but none of them helps solve this problem.

I wonder what java object Plugin couldn't find.
Old 06-14-2005, 03:08 AM   #7
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
I'd suggest you stick to the 1.5 jdk since I remember reading that there are problems with the 1.4x java plugin with firefox and the resolution was installing 1.5 jdk with it's plugin.
Old 06-14-2005, 03:31 AM   #8
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
1.5 works great for me... i had trouble getting it up, but the key was creating that syslink mentioned in the java readme. Make sure your linking from/to the right places, and it should work fine.
Old 04-15-2006, 07:00 PM   #9
Registered: Oct 2003
Location: Tucson, AZ
Distribution: XUbuntu 12.10, IPFire
Posts: 32

Rep: Reputation: 23
My JRE Install Instructions for SuSE 10

Getting Java to Completely Work in SuSE 10

I had Java 1.5.0_06 installed but the installation did not have a plugin directory under /usr/lib/jre1.5.0_06/plugin/i386/ns7 as indicated on numerous posts I have read. OK, I'm game -- just don't shoot me! Here's what I did to get Java Runtime Environment to work:
  • Used YaST to un-install java from the system.
  • Removed previous installations dating back to the jre1.4.x series by being root and doing rm -i /usr/lib/jre1.4.x where "x" is each earlier version. Also did rm -i on the last traces of the jre1.5 series. Java things are seriously broken now!
  • Followed the instructions from Sun's installation site I downloaded the .bin installer and ran as root - no problems.
  • Of course, YaST did not show a JRE installation because nothing was done via YaST with an RPM.
  • Also note that there was no "jvm" folder under /usr/lib nor was there anything under the /etc/alternatives directory.
  • I COPIED (not linked via the "ln" command) the to the /usr/lib/firefox/plugins directory.
  • The Java Installation Test page still didn't like the setup.
  • I had previously downloaded the following RPMs:
    • java-1_5_0-sun-plugin-1.5.0_06-1.1.i586
    • java-1_5_0-sun-1.5.0_06-1.1.i586
    • java-1_5_0-sun-jdbc-1.5.0_06-1.1.i586
    • java-1_5_0-sun-alsa-1.5.0_06-1.1.i586
  • I double-clicked each one in Konqueror, provided the root password, and installed.
  • Opened Firefox ( and went to the Java installation test site. The test came back positive and the happy dancing Java thing started bopping around.
  • I then ran FreeMind (java-based mind mapping application) and the JBlogEdit (java-based offline blog editor), and JEdit (yes, java-based text editor.)
  • I opened the Java Control Panel ( /usr/lib/jre1.5.0_06/bin/ControlPanel ) and verified that the java options were enabled.

I hope this helps someone.


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 1.0.1 and Java 1.5 plugin: no go Kropotkin Linux - Software 8 03-19-2005 01:01 PM
Java Plugin for Firefox wiskic10_4 Linux - Software 3 12-17-2004 08:09 PM
Firefox java plugin (suse 9.1) NoS Sr50 Linux - Software 8 11-16-2004 08:03 AM
java plugin for firefox wi_slacker Slackware 14 05-29-2004 02:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 PM.

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