From owner-freebsd-java Tue Jan 11 14:22: 4 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns1.1connect.com (216-59-79-65.usa2.flashcom.net [216.59.79.65]) by hub.freebsd.org (Postfix) with ESMTP id 2330815266 for ; Tue, 11 Jan 2000 14:21:58 -0800 (PST) (envelope-from keith@1connect.com) Received: from 1connect.com ([10.0.0.75]) by ns1.1connect.com (8.9.3/8.9.1) with ESMTP id OAA80439 for ; Tue, 11 Jan 2000 14:20:21 -0800 (PST) (envelope-from keith@1connect.com) Message-ID: <387BAD0B.5DE8519B@1connect.com> Date: Tue, 11 Jan 2000 14:22:03 -0800 From: Keith Wong X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Subject: UnsatisfiedLinkError Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I am using the JNI implements with C, after I created the LibEdit2.so and i try to link with the shared library, then i get this error. The LibEdit2.so at the same directory with the Testpay.java, .class. I know this is the shared library path problems. and i already made the path at the following in the .cshrc file. setenv LD_LIBRARY_PATH /usr/home/eproj/codebase thanks for helping. Following is the output: % java Testpay \Cannot open "lib/usr/home/eproj/codebase/Edit2.so" (lib/usr/home/eproj/codebase/Edit2.so) java.lang.UnsatisfiedLinkError: no /usr/home/eproj/codebase/Edit2 in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at at To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message