LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-16-2007, 08:46 PM   #1
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 124

Rep: Reputation: 15
JavaScript and Firefox


From my Fedora 7 box, I use Firefox 2.0.0.9 to access a web site which suggests enabling JavaScript, and displays a "Install missing plugins..." button. Firefox's preferences page shows that JavaScript and Java are both enabled.

When I click the "Install missing plugins..." button, the Firefox "Plugin Finder Service" dialog appears, and advises that "Java Runtime Environment" is available for installation. Then I'm directed to java.com to manually download and install required software.

From java.com, I can find "Java Downloads for Linux" ver 6u3. The install instructions refer to how to install for browser versions of Mozilla and Netscape, but nothing specific for Firefox. Then I've got to identify a browser install plugins directory from which I define a symbolic link. Under /usr/lib, I can find sub-directory firefox-2.0.0.9 and mozilla, both of which have a plugins subdirectory...

In other words, I'm lost on what I specifically need to do to enable and configure JRE 6u3 for Firefox 2.0.0.9 on my F7 box. Can anyone assist me in sorting this out?
 
Old 11-16-2007, 10:09 PM   #2
elfoozo
Member
 
Registered: Feb 2004
Location: MI
Distribution: debian unstable
Posts: 252

Rep: Reputation: 32
Firefox is similar enough to Netscape that you can follow the Netscape instructions. And I've never ever seen those "install plugin" dialogs work, not even when I used Netscape under Linux.

Assuming you've done the RPM download from Sun's site and installed it with
Code:
rpm -ivh name-of-bin-you-downloaded
you can just create a symlink to libjavaplugin_oji.so in /usr/lib/firefox/plugins .

I usually

Code:
cd /usr/lib/firefox/plugins
and then

Code:
ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
If you can't find libjavaplugin_oji.so after you install the RPM package you can issue

Code:
updatedb
and then type
Code:
locate libjavaplugin_oji.so
to find it.

After you create your symlink you may have to close and re-open all instances of Firefox in order for java to show up in about: plugins.
 
Old 11-16-2007, 10:48 PM   #3
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 124

Original Poster
Rep: Reputation: 15
Thanks elfoozo for your advice - I'll try that.

Just as a general comment, this whole Java thing on Linux seems to be a bottomless pit of confusing terminology and complex install procedures that only an experienced Linux sys admin can work through. Not a good situation when trying to convince MS Windows users to move to Linux...
 
Old 11-17-2007, 12:12 AM   #4
elfoozo
Member
 
Registered: Feb 2004
Location: MI
Distribution: debian unstable
Posts: 252

Rep: Reputation: 32
I am not a sys admin. I had read older versions of the Java install documentation before.

I'm pretty sure there isn't an orchestrated effort to get anybody to move to Linux. If you're the type of end user who views a computer merely as a tool, as a hammer to build the house, then perhaps Linux is not for you. You simply cannot manage a Linux machine without having at least a little desire to know what's going on inside and how things work. You'll find this out the first time you try and buy some wiz-bang piece of hardware off the shelf and have to discover if it's compatible.

But don't worry, you'd have some of that same initial "will this work" mystery if you own a Mac. The difference being, that commercial entity is orchestrating an effort to get people to switch.
 
Old 11-17-2007, 02:49 AM   #5
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 124

Original Poster
Rep: Reputation: 15
Thanks, again, elfoozo. I've worked with Linux servers for years at work. My comment was about Linux's positioning within the home user community, as an alternative to the two commercial offerings. It's not unreasonable to think that a viable alternative to the bland and pervasive MS offerings would be a good thing for the home market. And the number of home/desktop Linux distros out there suggests there is an attempt to displace MS's dominance, and I wish them luck with this. After all, is it OK that there is only one model of only one automobile manufacturer that you can have in your country? Same with an O/S.

But at the same time, I can see why this might not happen. Most home users do see a computer merely as a tool, and the command line is the last thing they want to have to use, so they won't make the switch because it's "too difficult". So Linux in its present form fails for most home users. If I'd stayed with MS, I wouldn't have made my original post.
 
  


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
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 11:58 AM
JavaScript in firefox trouble Reegz Programming 1 09-16-2006 06:04 AM
Firefox Javascript Error socceroos Programming 1 03-15-2006 12:04 AM
javascript in firefox jackdoll Fedora 1 11-19-2005 02:18 AM
javascript for firefox? mohapi Fedora 4 06-20-2004 03:22 PM


All times are GMT -5. The time now is 01:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration