LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2005, 05:09 PM   #1
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
tell firefox where java is installed


Ok. I have firefox 1.0 and also java installed on my system. (It's java version "1.4.2_05") Please don't flippantly tell me to upgrade my java, as I don't want more problems.
oh yeah, it's the sdk, not the jre.

Firefox doesn't know where to get it, as it tells me that I'm missing plugins.

please help!

thanks

titanium_geek
 
Old 02-08-2005, 05:33 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
cd to the plugins subdirectory of the Firefox lib directory. It's probably something like /usr/lib/MozillaFirefox/plugins. Then simply create a symbolic link to the .so file that is proper for your system type - most likely you use a gcc 3.x compiled system, so something like this should work: ln -s <WHERE_JAVA_IS_INSTALLED>/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
That should create a link called libjavaplugin_oji.so in the plugins directory, pointing to the actual plugin file. Type about:plugins in the location bar in Firefox and look if it's picked up.


Håkan
 
Old 02-09-2005, 01:44 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
i am having the same problem getting the java plug in to work ive installed jdk got it to work and followed the directions from a site that didnt work i have some questions do you have to reboot your computer after u make the symbolic <WHERE_JAVA_IS_INSTALLED>/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so do i substitute the folder or the path name where it says "WHERE_JAVA_IS_INSTALLED"?

Last edited by fakie_flip; 02-09-2005 at 02:03 AM.
 
Old 02-09-2005, 02:38 AM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
Quote:
do you have to reboot your computer after u make the symbolic
The only time you really need to reboot Linux is if you want to run a different kernel.

To get Java to work, all you should need to do is...

cd /firefox/plugins
or if it's mozilla..
cd /mozilla/plugins

When you're in the "plugins" directory run..

Code:
ln -s /usr/lib/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
if that's the correct location of "libjavaplugin_oji.so"
if you're not sure where "libjavaplugin_oji.so" is located, run..

Code:
whereis libjavaplugin_oji.so
and it'll give you the correct path to "libjavaplugin_oji.s"

re-run your web browser and you should have java enabled.
 
Old 02-09-2005, 04:57 AM   #5
thermite_1033
Member
 
Registered: May 2004
Location: Antwerp, Belgium
Distribution: slackware
Posts: 112

Rep: Reputation: 18
use the command 'set' to see if java_home is set
if not, issue this:

set JAVA_HOME=/usr/lib/java

adjust where needed

if this doesnt work see if you have /usr/lib/java/bin in your path

set PATH=$PATH:/usr/lib/java/bin
 
Old 02-09-2005, 04:04 PM   #6
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Original Poster
Rep: Reputation: 50
<WHERE_JAVA_IS_INSTALLED>/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so do i substitute the folder or the path name where it says "WHERE_JAVA_IS_INSTALLED"?

yes.
 
Old 02-09-2005, 11:48 PM   #7
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
i got it to work i made the symbolic link and removed some bad links that were in there cool now i can view applets that i make with jdk
 
  


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 03:13 AM
Got firefox installed still need help orion446 Linux - Software 5 01-17-2005 02:45 PM
Why won't Firefox run after I've installed it? NSFrankenstein Linux - Software 5 09-15-2004 12:13 PM
so, i installed firefox,,, um where did it go? Zieroth Linux - Software 23 07-14-2004 10:09 PM
using aim express w/ linux firefox and java installed? webazoid Linux - Software 3 07-08-2004 10:07 AM


All times are GMT -5. The time now is 02:37 AM.

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