From owner-freebsd-java@FreeBSD.ORG Tue Mar 22 20:33:54 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35CE816A4CE for ; Tue, 22 Mar 2005 20:33:54 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8305143D1F for ; Tue, 22 Mar 2005 20:33:53 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 5E30A121A3; Tue, 22 Mar 2005 15:33:23 -0500 (EST) Message-ID: <424080FF.7020900@chuckr.org> Date: Tue, 22 Mar 2005 20:33:03 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis References: <423F75CA.2080006@chuckr.org> <20050322201548.GA91212@misty.eyesbeyond.com> In-Reply-To: <20050322201548.GA91212@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: java Subject: Re: settings X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 20:33:54 -0000 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?