LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-05-2010, 10:12 AM   #1
Bringo
Member
 
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..
Code:
[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 http://www.java.com/en/download/installed.jsp, I always get :
Code:
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:
Code:
Firefox or Mozilla

   1. Create a symbolic link to the libjavaplugin.so 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/
            ns7/libjavaplugin_oji.so

            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 ffjcext.zip there.
But I don't find any plugins directory in firefox's installation directory, see:
Code:
[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                          run-mozilla.sh  updater.ini
browserconfig.properties  defaults    icons       old-homepage-default.properties  searchplugins   updates
Please help me. Thanks
 
Old 06-05-2010, 10:25 AM   #2
Nylex
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 10:27 AM.
 
Old 06-05-2010, 10:28 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

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

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


Reply



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
How to enable java in FireFox zyzyis Linux - Newbie 7 09-29-2004 06:07 PM
./configure --enable-debug ? a_hic Linux - Newbie 2 06-05-2002 09:21 AM

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

All times are GMT -5. The time now is 10:19 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
Open Source Consulting | Domain Registration