[ale] java frustrations
Lightner, Jeff
jlightner at water.com
Wed Jan 26 12:41:24 EST 2011
Don't confuse java and the java plugin library.
I've never had to muck with the java binary itself as you're suggesting.
(Well I have but not for firefox - We have Oracle apps that are
dependent on the java binary and sometimes require a specific version
(e.g. 1.4 instead of 1.6).
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Geoffrey Myers
Sent: Wednesday, January 26, 2011 12:28 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] java frustrations
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
ls -l /usr/bin/java /etc/alternatives/java
lrwxrwxrwx 1 root root 46 Dec 28 19:59 /etc/alternatives/java ->
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
lrwxrwxrwx 1 root root 22 Dec 28 16:56 /usr/bin/java ->
/etc/alternatives/java
This is Centos by the way.
Can they possibly make this any more screwed up?
>
> 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-pl
ugin-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
--
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
Proud partner. Susan G. Komen for the Cure.
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------
More information about the Ale
mailing list