Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 14:22:03 -0800
From:      Keith Wong <keith@1connect.com>
To:        freebsd-java@FreeBSD.org
Subject:   UnsatisfiedLinkError
Message-ID:  <387BAD0B.5DE8519B@1connect.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?387BAD0B.5DE8519B>