settings
Chuck Robey
chuckr at chuckr.org
Tue Mar 22 12:33:54 PST 2005
Greg Lewis wrote:
> On Tue, Mar 22, 2005 at 01:32:58AM +0000, Chuck Robey wrote:
>
>>Now that I finally have jdk1.5.0 built and installed, I have a single
>>demo application, and even that one application only manages to give me:
>>
>>Error: could not find libjava.so
>>Error: could not find Java 2 Runtime Environment.
>>
>>This is from the Argo uml application, and that's pretty vanilla, I
>>think, so I have the jdk1.5.0 installed badly. Can someone either give
>>me another dmo appl, or even better, tell me what I have wrong with my
>>installation ...
>>
>>One hint, the directory /usr/local/jdk1.5.0/jre/lib/amd64 is full of
>>libs like libjava.so (yes, the same one as the error message) but none
>>of them register in ldconfig -r, although they are on my LD_LIBRARY_PATH
>>list.
>
>
> The launcher sets up its own LD_LIBRARY_PATH, so what you have it set to
> doesn't really matter.
>
> Can you try:
>
> env _JAVA_LAUNCHER_DEBUG=yes /usr/local/jdk1.5.0/bin/java -version
>
> Part of the output should be where it thinks the JVM is. Make sure this
> looks correct. You may also want to post the output so we can see what
> it looks like.
I *really* appreciate this mail, and it did in fact prompt me to make
some changes. Didn't (in the final analysis) fix anything, but I think
maybe it's more correct.
I had my installation in /usr/local/jdk1.5.0, but after inspecting that
listing, it seemed that a more correct path included the version (p1) so
now my installation is in /usr/local/jdk1.5.0-p1. I added safety
softlinks to jdk and jdk1,5.0, andd I tested at each and every midpoint,
in case some casae I was transient-ing the magic point. Wasn't.
OK, I still have the same exact error message:
july:chuckr:~/jdk/Argo:#149>java -jar argouml.jar
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
if you felt it would do any good, I would even give you a login to
inspect the premises, so to speak (just mail me a ssh line).
I only have this one demo app, ArgoUML, if you have another you trust,
could you give me a url?
More information about the freebsd-java
mailing list