[CentOS] Getting JRE working in Firefox

Fri Mar 7 17:08:39 UTC 2008
Ray Van Dolson <rvandolson at esri.com>

On Fri, Mar 07, 2008 at 11:55:34AM -0500, Robert Moskowitz wrote:
> Ray Van Dolson wrote:
>> On Fri, Mar 07, 2008 at 11:12:14AM -0500, Robert Moskowitz wrote:
>>   
>>> I think I followed your instructions (I am dyslexic and basically flunked 
>>> High School Spanish back in the '60s), but still not working.  Here is 
>>> what I get:
>>>     
>>
>> Have you actually installed the plugin in Firefox though?
>>
>>   # cd /usr/lib/firefox-1.5.0.12/plugins
>>   # ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.3/jre/plugins/i386/ns7/libjavaplugin_oji.so .
>>
>> Your path to libjavaplugin_oji.so will be different most likely.
>>   
> Uh, I see more 'challenges'
>
> ls /usr/lib/jvm
> java-1.4.2-gcj-1.4.2.0 jre-1.4.2 jre-1.4.2-gcj jre-gcj
>
> So where is 6.5?
>
> locate libjavaplugin_oji
>
> /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7/libjavaplugin_oji.so
> /usr/java/jdk1.6.0_05/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
> /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so
> /usr/java/jre1.6.0_05/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
>
>
> Please advise...
>
> ANd with all I have done, documenting what is needed will be a bear!
>

Try:

  # ln -s /usr/java/jre1.6.0_05/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.5.0.12/plugins

The stuff in /usr/lib/jvm looks like the gcc java implementation.

Ray