LinuxQuestions.org
Review your favorite Linux distribution.
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 05-01-2004, 04:51 PM   #1
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Rep: Reputation: 15
Java Issues


Hi, I've been trying to get firefox to recognise my java plugin for 3 days now without any success. I've followed numerous threads for help but nothing works. So far ive:

edited my bash_profile to point to /usr/java/jre1..blarblar

created a plugin in the firefox/plugins directory

and pretty much everything else i can think of

which java returns /usr/bin/java

my java executable is actually in: usr/java/jre1...blarblar

It's really giving me a headache ! someone please HELP
 
Old 05-01-2004, 05:33 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
OK, but you'll need to fill it all in, where exactly is java? /usr/java/jre1...fill in the rest please.
 
Old 05-01-2004, 05:41 PM   #3
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Original Poster
Rep: Reputation: 15
/usr/java/j2re1.4.2_04/bin
 
Old 05-01-2004, 05:50 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi odd!!!

All you've to do is to create a symlink from Java plugin to Firefox plugin. Here is an example:

Code:
ln -s /usr/local/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/firefox/plugins/
that's all, nothing more, nothing less
 
Old 05-01-2004, 06:02 PM   #5
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Ive already done that but still when i go to places like, games.yahoo.com, sportinglife.com i get a pop up saying i need x-java-vm to run them

Last edited by odd; 05-01-2004 at 06:05 PM.
 
Old 05-01-2004, 06:05 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
very strange. Did you re-start the browser after running the above example? There could be also a problem with your JRE. Try downloading a new one or reinstalling. Looks like all Sun's stuff works randomly, that goes for JRE, SDK and Netbeans :S
 
Old 05-01-2004, 06:16 PM   #7
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Im re downloading java now but, the plugin in my firefox plugins directory has a little padlock icon below the regular file icon? is it supposed to have this if not could this be part of the problem?
 
Old 05-01-2004, 06:33 PM   #8
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Ok ive redownloaded/ installed java, remade the plugin in my /usr/lib/firefox/plugins directory still doesnt work
 
Old 05-01-2004, 10:49 PM   #9
yofuzzy
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
I am having the same problem ..
I tried what you said to do Megaman but is said that the file already existed in the folder.

...
 
Old 05-02-2004, 03:40 AM   #10
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Try making the symbolic link in your mozilla profile. Firefox scans your mozilla profile for plugins automatically. Even if you haven't installed mozilla, Firefox will install a .mozilla folder in your home folder.
Code:
mkdir ~/.mozilla/plugins
cd ~/.mozilla/plugins
ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so
I prefer to put plugins in that folder as they stay there. If I update Firefox I delete the old one and then I have to remember to reinstall the plugins. For any lurkers out there, that path is specific to the version and location given by odd in post #3. If you have a different version or if it's in a different location change the path or that command won't work, the symbolic link will be pointing into empty space if the path isn't correct.
 
Old 05-02-2004, 05:44 AM   #11
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Original Poster
Rep: Reputation: 15
YAY ! Thankyou so much for helping, this has been irritating me for days, as soon as i made the link file in ~/.mozilla/plugins it worked.

 
Old 05-03-2004, 02:34 PM   #12
LinuxNoob17
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
I had the same problem, and the way i made my java work was instead of putting

ln -s /usr/local/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

i put

ln -s /usr/local/jre/plugin/i386/ns610/libjavaplugin_oji.so

i used the ns610 instead of ns610-gcc32 (Maybe that is yoru problem)
 
  


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
Azureus Java issues dreakon SUSE / openSUSE 1 10-03-2005 09:55 AM
Java issues mtecknology Linux - Software 2 07-01-2005 02:24 PM
java install issues scrag1979 Linux - Software 2 05-28-2005 01:13 PM
Issues with JAVA Scrob Linux - Newbie 1 02-18-2005 01:45 PM
Netscape 6 Java issues d_ttrain Linux - General 2 01-06-2001 01:21 AM

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

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