Getting Java Plugins to Run with Mozilla in RH 9
Rick Stevens
rstevens at vitalstream.com
Fri Mar 12 01:30:52 UTC 2004
Kostas Sfakiotakis wrote:
> Rick Stevens wrote:
>
>> rab wrote:
>>
>>> I'm not sure why java is so problematic in RH Linux. I've had it
>>> running in the past. I have:
>>>
>>> [root at tangent plugins]# pwd
>>> /usr/lib/mozilla/plugins
>>> [root at tangent plugins]# ls -l
>>> total 168
>>> lrwxrwxrwx 1 root root 37 Dec 20 13:22
>>> flashplayer.xpt -> /usr/lib/flash-plugin/flashplayer.xpt
>>> lrwxrwxrwx 1 root root 39 Dec 20 13:22
>>> libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
>>> lrwxrwxrwx 1 root root 61 Mar 6 19:14
>>> libjavaplugin_oji.so ->
>>> /usr/java/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so
>>> -rwxr-xr-x 1 root root 22176 Jan 25 2003 plugger.so
>>> -r--r--r-- 1 root root 4139 Jan 6 2003 raclass.zip
>>> -r-xr-xr-x 1 root root 129088 Jan 6 2003 rpnp.so
>>>
>>> How can I get Mozilla to run Java apps? Every time I install a new
>>> version of Mozilla, java plugins stop working.
>>
>>
>>
>> You must find out where you're installing Mozilla (usually
>> /usr/lib/mozilla-version). Don't assume that /usr/lib/mozilla is where
>> it went. Often, /usr/lib/mozilla is a symbolic link to where the actual
>> stuff lives. For example:
>>
>> [root at prophead root]# ls -ld /usr/lib/moz*
>> lrwxrwxrwx 1 root root 11 Nov 10 12:09
>> /usr/lib/mozilla -> mozilla-1.5
>> drwxr-xr-x 9 root root 4096 Aug 15 2003
>> /usr/lib/mozilla-1.2.1
>> drwxr-xr-x 9 root root 4096 Aug 19 2003
>> /usr/lib/mozilla-1.4
>> drwxr-xr-x 9 root root 4096 Nov 17 09:48
>> /usr/lib/mozilla-1.5
>>
>> As you can see, /usr/lib/mozilla is a symlink to /usr/lib/mozilla-1.5.
>>
>> Regardless, you must get to the real install directory (in the above
>> case, /usr/lib/mozilla-1.5) and create a symbolic link from that
>> directory's "/plugins" directory to your Java binary. Again, an
>> example:
>>
>> [root at prophead mozilla-1.5]# cd /usr/lib/mozilla-1.5/plugins
>> [root at prophead plugins]# ls -l
>> total 1960
>> -rwxr-xr-x 1 root root 856 Nov 10 14:38 flashplayer.xpt
>> -rwxr-xr-x 1 root root 1470464 Nov 10 14:38 libflashplayer.so
>> lrwxrwxrwx 1 root root 79 Nov 19 13:37
>> libjavaplugin_oji.so ->
>> /usr/local/j2sdk_nb/j2sdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>>
>>
>> That's the link that needs to be created (the libjavaplugin_oji.so one).
>> Every time you install a new Mozilla, you need to fix that.
>
>
> What if the above trick doesn't do the job .
> Well i have installed a second version of mozilla under /user/local/mozilla
>
> ( Mozilla v. 1.6 , the very same i am using right now,from mozilla.org )
> Then i went to /usr/local/mozilla/plugins and placed the above link ,
> with a small variation . Since i don't have the ns610-gcc32 directory i
> gave the ns610 . I don't have gcc v. 3.2 at all ( am using Redhat 7.3 )
> By the way the version of java is 1.4.1_03 .
> Where do i look for errors .
You MUST use the gcc32 version for Mozilla 1.4 through 1.6 or it won't
work. See http://plugindoc.mozdev.org/linux.html#Java for details.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Time: Nature's way of keeping everything from happening at once. -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list