From owner-freebsd-java@FreeBSD.ORG Tue Mar 22 20:15: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 0C83C16A4D0 for ; Tue, 22 Mar 2005 20:15:54 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4941843D3F for ; Tue, 22 Mar 2005 20:15:53 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j2MKFo3C091232; Tue, 22 Mar 2005 13:15:50 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j2MKFm2Y091231; Tue, 22 Mar 2005 13:15:48 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 22 Mar 2005 13:15:48 -0700 From: Greg Lewis To: Chuck Robey Message-ID: <20050322201548.GA91212@misty.eyesbeyond.com> References: <423F75CA.2080006@chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423F75CA.2080006@chuckr.org> User-Agent: Mutt/1.4.2.1i 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:15:54 -0000 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. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org