LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java in SeaMonkey (https://www.linuxquestions.org/questions/linux-software-2/java-in-seamonkey-520230/)

elgordo33 01-17-2007 01:32 PM

Java in SeaMonkey
 
Howdy from elgordo33 in iced-over Central Texas - one of our rare (about every 20 years) ice storms.
intro: I was an electronics specialist for the U.S. Army. I have been around, working with, and using computers since the mid-1960's, when the military first used an IBM card-punch to send payroll data over a multi-channel teletype carrier via HF radio. That was in southeast Asia and the US terminal was in Illinois.
It ran at 74 baud (roughly 100 words per minute [base:5-character words]) - we have come along way since then.
I have been a Linux user off and on since ~ 1997. First distro was Caldera Desktop 2.0 on an i486 at 66 Mhs or less - the stone age of computing.
I got thoroughly disillusioned with Windoze about 6 years ago and have been steadily working at becoming windoze-free since. I settled on SuSE as my distro of choice (experimented with several, mostly Red Hat and the FC's thru 4) and am currently running SuSE 10.0 on a self-assembled desktop (MSI mobo, AMD Athlon 1.5 Gb, 512 Mb ram, ATI video, mobo sound, RealTek NIC, home network), and OpenSuse 10.1 on a Dell Inspiron B120 notebook.
Not a newbie, but not a guru, either - I am still learning daily. Would deem myself an intermediate level user.
Current problem - no java on Mozilla Seamonkey on desktop. Java-1.5.0 works on the FireFox browser. I am relatively certain that it needs a link to the JRE in seamonkey, but don't know where to link it.
Would appreciate any assistance that you want to give.
Thanks.

ramram29 01-17-2007 01:43 PM

Find the pluging directory for seamonkey and create the symlink there. For firefox it is usually in /usr/lib/firefox/plugin. Seamonkey probably uses the mozilla plugin directory in /usr/lib/mozilla/plugin.

elgordo33 01-17-2007 05:21 PM

Thank you ramram29. I finally put my brain to work and arrived at the same process.
a little judicious rooting around in SuSE using root file manager turned up the files, but not where I would'v looked on my own.

a look at /etc/java/java.conf sent me to /usr/lib/jvm which finally took me back to
/etc/alternatives/jre/plugin/i386/ns7/libjavaplugin_oji.so

which is the operative plugin I needed.

The seamonkey file is /usr/lib/seamonkey/plugins, and a routine symlink to the /etc/alternatives... turned on the java plugin in seamonkey, and now the live clock in www.time.gov works.

Anyone else having this problem wiht Suse 10.0 who does not know what a symlink (also called soft link) is, here's a (very) mini-HOWTO:
1. Find your plugin source (/etc/alternatives... above).
2. find your target (/usr/lib/seamonkey... above).
3. Open a terminal and become root or superuser (su - <enter> and give root password <enter>)
4. cd to the target directory.
5. Type 'ln -s /etc/alternatives/jre/plugin/i386/ns7/libjavaplugin_oji.so .' <enter> -- using your source and omitting the ears [''], and yes, the last space dot is required.

What that does is tells seamonkey to look in the etc/alternatives location for that plugin. the 'space dot' at the end tells the terminal to 'make the link here' (present directory).

Happy computing!
elgordo33

XavierP 01-18-2007 01:05 PM

Welcome to LQ :D Because this tuned into a technical question rather than a pure intro, I have moved it to Linux-Software. Thanks for posting up your solution: so many don't....

elgordo33 01-20-2007 01:18 PM

Sorry, sir ~
The link to the intro/mewbie forum invited me to ask a question, so I did.
Since I have seen others lauded for answering their own question on here, I did that too, with a little help from my friends.
Will strive to do better in future.


All times are GMT -5. The time now is 10:26 AM.