Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2005 20:33:03 +0000
From:      Chuck Robey <chuckr@chuckr.org>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        java <freebsd-java@freebsd.org>
Subject:   Re: settings
Message-ID:  <424080FF.7020900@chuckr.org>
In-Reply-To: <20050322201548.GA91212@misty.eyesbeyond.com>
References:  <423F75CA.2080006@chuckr.org> <20050322201548.GA91212@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424080FF.7020900>