Results 1 to 5 of 5
Thread: UnsatisfiedLinkError
- 01-06-2011, 09:49 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
UnsatisfiedLinkError
Hi All,
I am trying to use one of the jar files. The porgram compiles fine but when I try to run the program it gives me this error. I have put the jar file into the class path. I have put the location of dierctory containing the jar file into path but still its not working. Can anyone suggest what can be the cause of the problem?
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jxi in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at ukbpa.Xi.XiProxy.<clinit>(XiProxy.java:11)
at ukbpa.Xi.XiFunctions.<clinit>(XiFunctions.java:10)
at ScratchPad.main(ScratchPad.java:34)
- 01-07-2011, 01:22 AM #2
in this case, it is likely something in the ukbpa.Xi.XiProxy is trying to load a native library, such as a .dll or a .so file. the environment variable java.library.path is a path like variable to contain the folders that should be searched for when looking for native libraries. it is possible this variable is not set. or the native library jxi.dll (or jxi.so) is not there.
try to see what this java.library.path is first:
Java Code:System.out.println("native library path: " + System.getProperty("java.library.path"));
- 01-07-2011, 04:33 AM #3
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
On UNIX systems, make sure your LD_LIBRARY_PATH contains the directory where the shared objects related to jxi reside (usually a lib directory under your jxi install). On windows, make sure your PATH variable contains the directory where the jxi dll is located.
- 01-07-2011, 04:35 AM #4
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
I cannot find jxi.dll file into the folder of installation? Is their anyplace I can look if the jxi.dll files exsists or not?
- 01-07-2011, 04:40 AM #5
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
Similar Threads
-
Java3D UnsatisfiedLinkError
By Cemi in forum New To JavaReplies: 2Last Post: 02-26-2011, 05:10 PM -
JNI: ava.lang.UnsatisfiedLinkError
By tecno40 in forum Java AppletsReplies: 0Last Post: 11-19-2010, 11:59 PM -
UnsatisfiedLinkError
By Hussain Ali in forum EclipseReplies: 2Last Post: 04-11-2010, 07:59 AM -
UnsatisfiedLinkError using gr.DotNetFromJava.cpp.dll
By Viter_ in forum Advanced JavaReplies: 0Last Post: 07-17-2009, 08:53 PM -
UnsatisfiedLinkError: lob_createTemporary
By Nauman in forum JDBCReplies: 0Last Post: 08-12-2007, 03:23 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks