LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-20-2005, 05:06 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Trying to install java pluggin to firefox


What an unbelievably complicated ordeal. This process makes me understand what the linux bashers mean when they say that linux is too complex to go "primetime" on the desktop. I got the very end, and then got stumped.

Here are the latter part of the instructions I used:
---------------------------------------------------------------------------------
Mozilla 1.4 and later

1. Go to the plugins sub-directory under the Mozilla installation directory
cd <Mozilla installation directory>/plugins
2. In the current directory, create a symbolic link to the JRE ns7/libjavaplugin_oji.so file Type:
ln -s <JRE installation directory>/plugin/i386/ns7/libjavaplugin_oji.so

Example:
* If Mozilla is installed in this directory:
/usr/lib/mozilla-1.4/
* and if the JRE is installed at this directory:
/usr/java/jre1.5.0
* Then type at the terminal to go to the browser plug-in directory:
cd /usr/lib/mozilla-1.4/plugins
* Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.5.0/plugin/i386/ns7
/libjavaplugin_oji.so .
3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.
4. Go to Edit > Preferences. Under Advanced category > Select Enable Java

http://java.com/en/download/help/5000010500.xml#14
---------------------------------------------------

I had to use instructions for Mozilla, because there were no instructions for firefox. Anyway, on step 4, I went to Edit > Preferences -> Advanced but there was no category > Enable Java. I found Edit > Preferences -> Web Features -> Enable Java, and I selected that; but it doesn't work.

I am using debian 3.1 testing, and firefox 1.0.1.

On windows, it's just click, click, click.
 
Old 03-20-2005, 05:19 PM   #2
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341
Blog Entries: 1

Rep: Reputation: 30
http://www.linuxquestions.org/questi...hreadid=273909

Go there, it should give you the answer.
 
Old 03-20-2005, 05:20 PM   #3
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Very strange since my install of Firefox didn't need java to be installed later.
 
Old 03-20-2005, 06:22 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Funny, when I installed it it took me one line. That's easier than "click, click, click" (and crash crash crash).

Did you go to the place you installed firefox, then the plugins directory, then create the symbolic link? Where did you install firefox?
 
Old 03-20-2005, 07:47 PM   #5
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
There's no easy solution to using java in firefox or mozilla or just about any browser except maybe Opera.

I have waged that battle for the past year and gave up. The true test to see if Java is actually working is to go to www.ionthunder.com and try to play one of their games. In all likelihood you will be completely unsuccessful no matter what you do.

Under Opera the java capability is there from the install. It is a great implementation even if it isn't KDE oriented. My recommendation is that you might need to get a commercial program to make up for the messiness of the freeware stuff (even Firefox).

As I said, for a year I have had to deal with that issue with every single install of Linux I've done no matter what. I've gone to the sun site and downloaded the various versions of java and even used synaptic to install some at various times with absolutely zero luck, ever.

I love linux and I don't consider myself a linux basher. I'm just a realist. I don't want linux pushed to the desktop till it is ready and it is NOT ready. If you are a techie you can do it but until programs install (under all distros, every kernel version, every modification 100% of the time) using a similar mechanism that is found on the Macintosh, linux is not ready for the desktop.

I think linux can be wonderful. You can take an utterly UGLY, pathetically ugly distro like FC3 (the base install's appearance pathetically ugly) and turn it into a beautiful looking desktop. I love that idea, but mom and pop can't do it and neither can the average Joe and Jane. If we only could get an application installer that is universal to all distros and all releases of each distro we'd have this product that would put microsoft to shame.
 
Old 03-21-2005, 11:30 AM   #6
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
>>Funny, when I installed it it took me one line. That's easier than "click, click, click" (and crash crash crash).<<

1) How did you do that?
2) However you did it, it's certainly nothing standard. In windows it's all standard, you don't need to know some special insider trick.
3) I use windows 2000, XP, and 2003. I have a lot of complaints with windows, but stability isn't one of them. I agree that 95/98/ME had problems with stability, but this is 2005, and 1999.

>>Did you go to the place you installed firefox, then the plugins directory, then create the symbolic link? <<

Yes.

>>Where did you install firefox?<<

I'm using Debian 3.1. I installed firefox with the aptitude command.

It appears that there are the following links in /usr/bin:

/usr/bin$ ls -l mozilla*
lrwxrwxrwx 1 root root 25 2005-02-25 13:27 mozilla -> /etc/alternatives/mozilla
lrwxrwxrwx 1 root root 30 2005-03-13 07:13 mozilla-firefox -> ../lib/mozilla-firefox/firefox

I installed Java in /usr/bin.
 
Old 03-21-2005, 01:44 PM   #7
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
You have a java subdirectory within /usr/bin!??! That's not the place to put it! Install java somewhere like /usr/lib/java or /usr/share/java or...well somewhere like that.

I don't see why you're making this so hard. You install java somewhere sensibe, you know where firefox resides then you link the two together.

The location of the plugin is gonna be at:
find / -iname "libjavaplugin_oji.so"
 
Old 03-21-2005, 05:03 PM   #8
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
>>You have a java subdirectory within /usr/bin!??! That's not the place to put it! Install java somewhere like /usr/lib/java or /usr/share/java or...well somewhere like that.<<

1) Why does it matter?

2) why is it that:

/usr/lib/java == sensible
/usr/share/java == sensible
but:
/usr/bin/java != sensible?
 
  


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
Continually prompted to install Java on FIrefox broggyr Linux - Software 9 08-04-2005 09:09 AM
How do I install java on firefox? walterbyrd Linux - Software 4 07-08-2005 02:53 PM
Not Able To Install Java Plugin For Firefox, browser curious_srk Linux - Software 3 11-19-2004 06:51 AM
having trouble with java pluggin for firefox, using debian walterbyrd Debian 5 08-28-2004 01:35 PM
Java pluggin and Mozilla 0.96 Will Linux - General 5 11-29-2001 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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