±Û¾´ÀÌ :ÀÓäÀÏ 1999³â 11¿ù 26ÀÏ 12:27:13
In Reply to: JNI ½ÇÇà½Ã UnsatisfiedLinkError °¡ ¹ß»ýÇÕ´Ï´Ù. posted by ºñ¾È on 1999³â 11¿ù 25ÀÏ 14:05:03:
Java tutorial¿¡ ³ª¿À´Â ³»¿ëÀÔ´Ï´Ù.
-------------------------------------------------
If you see an exception like the following, then you don't have your library path set up correctly.
java.lang.UnsatisfiedLinkError: no hello in shared library path
at java.lang.Runtime.loadLibrary(Runtime.java)
at java.lang.System.loadLibrary(System.java)
at
at java.lang.Thread.init(Thread.java)
-----------------------------------------------
ÇØ°áÃ¥
UNIX
% setenv LD_LIBRARY_PATH mylibrarypath
where mylibrarypath is the name of the directory that contains libhello.so.
DOS shell (Windows 95/NT)
On Windows 95/NT, the loadLibrary() method searches for DLLs in the same manner as other language environments do.
¸¸¾à Window¿¡¼ JNI¸¦ testÇϼ̴ٸé ÇØ´ç dllÀ»
c:\windows\¹Ø¿¡ °¡Á®´Ù µÎ½Ã±â¸¦ ¹Ù¶ø´Ï´Ù.