Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-05-2010, 11:12 AM   #1
Registered: Mar 2010
Posts: 31

Rep: Reputation: 16
Question Unable to enable/configure java in firefox

Hi, I am here again with a java problem..
[root@localhost ~]# java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
This means jre is installed but when I want to verify from, I always get :
Something is wrong. Java is not working.
So I installed jre again following the instructions at the mentioned site.But I don't know how to enable/configure it with firefox. Instructions for this on the site are:
Firefox or Mozilla

   1. Create a symbolic link to the file in the browser plugins directory
          * Go to the plugins sub-directory under the Firefox installation directory
            cd <Firefox installation directory>/plugins

          * Create the symbolic link
            ln -s <Java installation directory>/plugin/i386/

            In the ln command line above, use ns7-gcc29 if Firefox was compiled with gcc2.9.

      If you install Firefox 1.5 or later, you can enable the Java Console menu item in the Tools menu. Change directories to the Firefox extensions directory, then unzip there.
But I don't find any plugins directory in firefox's installation directory, see:
[root@localhost firefox-3.0.11]# ls /usr/lib/firefox-3.0.11/
application.ini           chrome      extensions  LICENSE                          README.txt      update.log   update.status
blocklist.xml             components  firefox     modules                  updater.ini  defaults    icons  searchplugins   updates
Please help me. Thanks
Old 06-05-2010, 11:25 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You could use the plugins directory in your home directory, ~/.mozilla/plugins. Obviously, this will install the plugin for a single user. My firefox directory in /usr/lib has a plugins directory, so it may be ok to create that directory. I'm not sure on this, however. Maybe look at Mozilla's Firefox support page?

Last edited by Nylex; 06-05-2010 at 11:27 AM.
Old 06-05-2010, 11:28 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Firefox will look in /usr/lib/mozilla/plugins/
... for all 'plugins'.

ln -n <location>//plugin/i386/ns7/ /usr/lib/mozilla/plugins/
EDIT : Or ~/.mozilla/plugins/ as said by @Nylex.
Old 06-05-2010, 11:52 AM   #4
Registered: Mar 2010
Posts: 31

Original Poster
Rep: Reputation: 16
Thanks. Now I saw this at the site's verification page:
Verified Java Version
You have the recommended Java installed (Version 6 Update 20).
Thanks again.


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 03:13 AM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 05:09 PM
Java/Firefox java plugin not working with HP Webjetadmin iamskykid Linux - Software 2 03-02-2006 03:38 PM
How to enable java in FireFox zyzyis Linux - Newbie 7 09-29-2004 07:07 PM
./configure --enable-debug ? a_hic Linux - Newbie 2 06-05-2002 10:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 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