abdullah
10-24-2004, 06:14 PM
assalamu 'alaikum,
i compiled a java wrapper for a c class through SWIG ("libitl_java.so").
teh problem is whenever i use System.loadLibrary("libitl_java.so"); or System.loadLibrary("libitl_java"); it gives me this exception (during runtime):
Exception in thread "main" java.lang.UnsatisfiedLinkError: no libitl_java.so in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at JPrayerGUI.<clinit>(JPrayerGUI.java:13)
at JPrayer.main(JPrayer.java:40)
i even tried setting the java.library.path property to the directory where the so file sits, but it still gives me that error...
i am out of ideas.. and i'd be really grateful if anyone can point me in the right direction..
thanks in advance
i compiled a java wrapper for a c class through SWIG ("libitl_java.so").
teh problem is whenever i use System.loadLibrary("libitl_java.so"); or System.loadLibrary("libitl_java"); it gives me this exception (during runtime):
Exception in thread "main" java.lang.UnsatisfiedLinkError: no libitl_java.so in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at JPrayerGUI.<clinit>(JPrayerGUI.java:13)
at JPrayer.main(JPrayer.java:40)
i even tried setting the java.library.path property to the directory where the so file sits, but it still gives me that error...
i am out of ideas.. and i'd be really grateful if anyone can point me in the right direction..
thanks in advance