LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-08-2002, 10:09 PM   #1
dsledge
Member
 
Registered: Dec 2001
Location: Georgia
Distribution: Ubuntu
Posts: 31

Rep: Reputation: 15
Cannot install Java Plugin (1.4.0)


I'm having a problem installing the java plugin for Netscape 6.2 on a RedHat box. After searching the java website I found a page that detailed how to install the plugin but it still doesn't work.
(here's the link to the page: Plugin Installation )

I've logged in as root, to ensure all permissions were available. Even after following the directions and getting a "registration was successful" message the plugin is not showing in the "About plugins".

Any help??
>Dennis
BTW: I'm not familar with the 'setenv' command. I guessed at 'set' yet that didn't gain anything. Also the '$' had to be omitted from the path in regxpcom.

Here's the text from the above link:
--------------------------------
1. Before you run regxpcom, as described below, first shut down the browser.
2. setenv LD_LIBRARY_PATH <Netscape 6>:$LD_LIBRARY_PATH

If you do not add Netscape to your LD_LIBRARY_PATH you are likely get an error when you run regxpcom. The message will say that Open failed: No such file or directory.
If and only if you are using Netscape 6.x browsers, you will need to use regxpcom provided by Netscape to register the libjavaplugin_oji140.so file. In the package installation of J2SDK 1.4.0, copies of this file are located at /usr/j2se/jre/plugin/i386/ns600/libjavaplugin_oji140.so and /usr/j2se/jre/plugin/i386/ns610/libjavaplugin_oji140.so. For example:

cd ${NETSCAPE6}/bin

If you use a Netscape 6.0x browser:

regxpcom ${JRE}/plugin/i386/ns600/libjavaplugin_oji140.so

If you use a Netscape 6.1x browser:

regxpcom ${JRE}/plugin/i386/ns610/libjavaplugin_oji140.so

After running the regxpcom command you should get a message saying that registration was successful for <jre>/plugin/i386/ns610/libjavaplugin_oji140.so


If regxpcom does not register the Java Plug-in successfully?i.e., you get a registration-failed message or a core dump?try creating a link to the Java Plug-in libjavaplugin.so file in the Netscape 6 plugins directory.

cd <Netscape 6>/plugins
ln -s <JRE>/plugin/i386/ns610/libjavaplugin_oji140.so .

Be sure to include the period at the end.
----------------------------------------------------------
 
Old 05-08-2002, 10:43 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
first run this ...

updatedb

to update the search database

then this...

locate netscape/plugins


if all of them are in /usr/lib/netscape/plugins or some globally accessable folder then thats good

if you have more versions of netscape then make sure you know which one's which by running it with the full path

if you have more than one plugins folder for the same version consider removing the user one for now.



then forget about the regxpcom or whatever for now..


locate the correct plugin for your version.

locate libjavaplugin_oji140.so

make a link to the proper plugin in the netscape/plugins folder


like this but use your exact paths, not these


ln -s /usr/j2se/jre/plugin/i386/ns610/libjavaplugin_oji140.so /usr/lib/netscape/plugins/libjavaplugin_oji140.so

Last edited by DavidPhillips; 05-08-2002 at 10:44 PM.
 
Old 05-09-2002, 10:46 AM   #3
dsledge
Member
 
Registered: Dec 2001
Location: Georgia
Distribution: Ubuntu
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks for the tip David...that did the trick!

Dennis
 
Old 05-09-2002, 01:35 PM   #4
ngomong
Member
 
Registered: Apr 2002
Posts: 54

Rep: Reputation: 15
Thanks from me too! I love stumbling upon the answer to a question in the back of my head.

The method described above worked for Mozilla, too.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! - Java plugin will not install GordGray Linux - Software 1 07-06-2004 08:07 AM
how to install java vm plugin rsingh Linux - Newbie 1 10-22-2003 01:59 PM
how to install mozilla's java plugin? crux6rind Linux - Newbie 1 10-07-2003 09:26 AM
java plugin install samshiver Linux - Software 4 09-09-2003 01:34 PM
How to install java plugin jane207 Linux - Software 5 11-19-2001 05:26 PM


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