jdk-1.4.2p7 crashes with no indication of why
Chuck Robey
chuckr at chuckr.org
Mon Mar 21 14:03:55 PST 2005
Chuck Robey wrote:
> Daniel Eischen wrote:
>
>> On Mon, 21 Mar 2005, Chuck Robey wrote:
>>
>>> I just tried an application, and (after adding /usr/local/jdk1.5.0/bin
>>> to my PATH) got an error about not being able to find libjava.so. I
>>> checked, that file does exist in /usr/local/jdk1.5.0/jre/lib/amd64, so
>>> the jdk15 seems to be not totally installed, or I'm missing something in
>>> myh environment. Anyone know what that is?
>>
>>
>>
>> I've only built jdk14 for x86, so I can't offer much more than
>> "ldd(1) is your friend" and "try fiddling with LD_LIBRARY_PATH".
>
>
> Well, all of the libs are named in the form "libjava.so", with no number
> at the end, which might be the reason that ldconfig -m did not bring in
> any of those libs. Darn it.
>
> Just setting an LD_LIBRARY_PATH didn't help. I suspect that these libs
> need renaming.
>
OK. I have some fixes: first. the directory is group-writeable, and that
breaks liconfig's security, so you need to execute a chmod to fix that.
Beyon that, I just copied libjava.so to libjava.so.0, and it's finally
in the ldconfig cache.
>>
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
More information about the freebsd-java
mailing list