From owner-freebsd-java Thu Mar 5 09:44:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16715 for freebsd-java-outgoing; Thu, 5 Mar 1998 09:44:31 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16686 for ; Thu, 5 Mar 1998 09:44:25 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA23655; Thu, 5 Mar 1998 10:44:24 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA19405; Thu, 5 Mar 1998 10:44:22 -0700 Date: Thu, 5 Mar 1998 10:44:22 -0700 Message-Id: <199803051744.KAA19405@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Claudio Eichenberger Cc: freebsd-java@FreeBSD.ORG Subject: Re: ld.so failed: C'ant find shared library libjava.so.1.1 In-Reply-To: <34FE5DB1.1372@nty.com> References: <34FE5DB1.1372@nty.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I downloaded the http://www.freebsd.org/java/jdk1.1.5.V98-2-25.tar.gz > and installed it on FreeBSD 2.2.2 . > > Problem: > > I launched eg. > > % javac Test.java > % > > Nothing happened, no class got created. Weird.. > I saw by executing > > % /usr/local/jdk1.1.5/bin/i386/green_threads/java > ld.so failed: C'ant find shared library libjava.so.1.1 This is expected behavior. There is a reason for the wrapper file which sets up the environment for the executable. Is the environment variable DISPLAY set, and if so is X installed? > Do you know what I'm doing wrong ? Can you do % sh -x /usr/local/jdk1.1.5/bin/javac Text.java And send the output. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message