[CentOS] Getting JRE working in Firefox

Fri Mar 7 17:27:52 UTC 2008
Robert Moskowitz <rgm at htt-consult.com>

Got it!

Ray Van Dolson wrote:
> 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
>   
This did the trick. The final piece of magic for java plugin.

Now to only record what is the NECESSARY magic to have it for the next 
system....

And perhaps undo anything which will cause problems.

Meanwhile I still need to install Freemind, and that is still calling for

---> Package java-1.4.2-sun-compat.i586 0:1.4.2.10-1jpp set to be updated

and missing dependecies:

Error: Missing Dependency: xml-commons-jaxp-1.3-apis is needed by 
package ws-jaxme
Error: Missing Dependency: j2sdk = 2000:1.4.2_10-fcs is needed by 
package java-1.4.2-sun-compat