Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Java Plug-in for Fedora Core 1

0 views
Skip to first unread message

Francisco Mendez

unread,
Feb 9, 2004, 9:43:56 AM2/9/04
to
Hi:
I downloaded the j2sdk-1_4_2_03-linux-i586.bin, extracted the binary, as
root, in /usr/local, and followed the instructions for the java plug-in
browser registration, as directed by the Java 2 SDK 1.4.2 Installation
Notes for Linux, found at

http://java/sun.com/j2se/1.4.2/manual_imstall_linux.html.

Point 3 instructs to create a symbolic link to the java plug-in, in my
case it's located at

/usr/local/j2sdk1.4.2_03/jre/plugin/i386/ns610

I created the sym-link into ~/.mozilla/plugins

On the java sun site, it is stated that the sym-link should be created
with the following command:
ln -s <JRE>/plugin/i386/ns610/libjavaplugin_oji.so .

and they state that the period at the end should be included *(With a
sapce included?)*, which I did.

Once Mozilla is restarted the plug in appears not to be registered,
(Help -> About Plug-ins) does not shows any trace of the Plug-in.

So, my question is, *how to register the plug-in*?

On blackdown.org, they mention /usr/lib/mozzilla/plugins as a directory
into which the sym-link should be created (as root). I tryed also this
option but the plug-in refuses to work.

Any help in this respect will be appreciated.

Thx, in advance,

FM>

Lenard

unread,
Feb 9, 2004, 9:56:26 AM2/9/04
to
Francisco Mendez posted on Mon, 09 Feb 2004 08:43:56 -0600:

> On the java sun site, it is stated that the sym-link should be created
> with the following command:
> ln -s <JRE>/plugin/i386/ns610/libjavaplugin_oji.so .

Make that; ln -s <JRE>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

$ ls -al libjavaplugin_oji.so
lrwxrwxr-x 1 root root 67 Feb 4 23:00
libjavaplugin_oji.so ->
/usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

You can delete the bad link (as root) with; rm libjavaplugin_oji.so

For additional help see; http://plugindoc.mozdev.org/faqs/java.html


--
Hi! I'm a .sig virus! Copy me to your .sig!

Francisco Mendez

unread,
Feb 9, 2004, 11:13:34 AM2/9/04
to
Lenard wrote:
> Francisco Mendez posted on Mon, 09 Feb 2004 08:43:56 -0600:
>
>
>>On the java sun site, it is stated that the sym-link should be created
>>with the following command:
>> ln -s <JRE>/plugin/i386/ns610/libjavaplugin_oji.so .
>
>
> Make that; ln -s <JRE>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

1. Should I install the plug-in in the ns610 or
the one in the ns610-gcc32 directory?

2. Should I keep the space and dot at the end of the command
line?

>
> $ ls -al libjavaplugin_oji.so
> lrwxrwxr-x 1 root root 67 Feb 4 23:00
> libjavaplugin_oji.so ->
> /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>
> You can delete the bad link (as root) with; rm libjavaplugin_oji.so
>
> For additional help see; http://plugindoc.mozdev.org/faqs/java.html
>
>

Thx, FM>

Lenard

unread,
Feb 9, 2004, 11:36:13 AM2/9/04
to
Francisco Mendez posted on Mon, 09 Feb 2004 10:13:34 -0600:

> Lenard wrote:
>> Francisco Mendez posted on Mon, 09 Feb 2004 08:43:56 -0600:
>>
>>
>>>On the java sun site, it is stated that the sym-link should be created
>>>with the following command:
>>> ln -s <JRE>/plugin/i386/ns610/libjavaplugin_oji.so .
>>
>>
>> Make that; ln -s <JRE>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>
> 1. Should I install the plug-in in the ns610 or
> the one in the ns610-gcc32 directory?
>
> 2. Should I keep the space and dot at the end of the command
> line?

<snip>

>> For additional help see; http://plugindoc.mozdev.org/faqs/java.html

Quoting from the link above;

Linux

On Linux, Mozilla requires JRE 1.4.2 or later.

Mozilla 1.4 and later, and Mozilla Firebird, are compiled with gcc 3.2.3.
A gcc 3.x compatible version of the Java plugin must be used. JRE 1.4.2
contains a compatible plugin.

If you installed the JRE 1.4.2_02 RPM, this plugin is
/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so - and
to install it for Mozilla (including Mozilla Firebird), do the following:

* Open a terminal
* Change to your Mozilla (or Mozilla Firebird) plugins directory
* Issue the following command:

ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

If you are using an older Linux distribution, you may need to install the
gcc3 support libraries, as the gcc 3.2 version of the Java plugin requires
libgcc_s.so.1 to operate. You may be able to find packages using Google.

If you are using an old or unofficial build of Mozilla (1.4a or later) or
Mozilla Firebird, you can check which compiler was used by entering
about:buildconfig in the location bar and pressing enter. You will see a
line such as "gcc version 3.3 20030226 (prerelease) (SuSE Linux)", which
will show the compiler that was used. If gcc2.9x was used, you need to use
the ns610 plugin, not the ns610-gcc32 plugin.

Francisco Mendez

unread,
Feb 9, 2004, 5:39:25 PM2/9/04
to
Hi Lenard:

Thx, I reinstalled the plug-in as directed, it now runs ok :)

I think my confusion came from the ambiguous statemen at the sun site:

ln -s <JRE>/ ... /ns610/libjavaplugin_oji.so .

[sic]Be sure to include the period at the end

Lenard

unread,
Feb 9, 2004, 11:02:10 PM2/9/04
to
Francisco Mendez posted on Mon, 09 Feb 2004 16:39:25 -0600:

Yes I agree with you. Maybe a report to Sun about this incorrect section
of the installation instructions should be made.

0 new messages