[ale] java frustrations

Geoffrey Myers lists at serioustechnology.com
Wed Jan 26 12:29:27 EST 2011


Tim Watts wrote:
> on the other hand:
> 
> $ ls -l /etc/alternatives/mozilla-javaplugin.so 
> lrwxrwxrwx 1 root root 48 2010-05-02
> 12:26 /etc/alternatives/mozilla-javaplugin.so
> -> /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so

ls: /etc/alternatives/mozilla-javaplugin.so: No such file or directory

> 
> 
> On Wed, 2011-01-26 at 11:31 -0500, Tim Watts wrote:
>> I suspect it's that /etc/alternatives that's screwing things up.
>>
>> What does 'ls -l /usr/bin/java /etc/alternatives/java' say?
>>
>> If it's not pointing the the JRE you expect, use (in Ubuntu)
>> update-java-alternatives
>>
>> My ubuntu 10.4 firefox 3.6.13 gets the plugin
>> from /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libnpjp2.so and does
>> not use a symlink.
>>
>>
>>
>> On Wed, 2011-01-26 at 11:03 -0500, Geoffrey Myers wrote:
>>> Lightner, Jeff wrote:
>>>> Yep - most of the documentation is wrong about which library.
>>>>
>>>> Have a look at this for CentOS5: 
>>>> http://www.linuxquestions.org/questions/linux-software-2/getting-java-plugin-to-work-on-centos-5-linux-with-firefox-3-6-x-825409/
>>>>
>>> Suggests:
>>>
>>> ln -s /usr/java/jre1.6.0_23/lib/amd64/libnpjp2.so .
>>>
>>> doesn't say where . is, but I tried:
>>>
>>> ln -s /usr/java/jre1.6.0_23/lib/amd64/libnpjp2.so 
>>> /usr/lib/mozilla/plugins/libnpjp2.so
>>>
>>> Still no love.
>>>
>>>
>>>>
>>>> -----Original Message----- From: ale-bounces at ale.org
>>>> [mailto:ale-bounces at ale.org] On Behalf Of Pete Hardie Sent:
>>>> Wednesday, January 26, 2011 10:34 AM To: Atlanta Linux Enthusiasts 
>>>> Subject: Re: [ale] java frustrations
>>>>
>>>> On Wed, Jan 26, 2011 at 10:26, Geoffrey Myers 
>>>> <lists at serioustechnology.com> wrote:
>>>>> This is one of the things that just frustrates me.  New install,
>>>>> have to get java working with browser.  Install the jre rpm, open
>>>>> browser, no love.
>>>>>
>>>>> Now I've got to go and figure out how to fix this.  Used to be, you
>>>>>  linked a .so from the rpm to the plugins directory for firefox.
>>>>>
>>>>> firefox 3.6, there is no plugins directory.
>>>>>
>>>>> I fixed this before, but can't recall the solution.  Anyone?
>>>> The plugin has a different name now - libjavaplugin_oji.so and 
>>>> libnpjp2.so in F13, for me
>>>>
>>>>
>>>>> -- Until later, Geoffrey
>>>>>
>>>>> "I predict future happiness for America if they can prevent the
>>>>> government from wasting the labors of the people under the pretense
>>>>> of taking care of them." - Thomas Jefferson 
>>>>> _______________________________________________ Ale mailing list 
>>>>> Ale at ale.org http://mail.ale.org/mailman/listinfo/ale See JOBS,
>>>>> ANNOUNCE and SCHOOLS lists at http://mail.ale.org/mailman/listinfo
>>>>>
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list