| Author |
connect sdk with java
|
joseph visuvasam
Greenhorn
Joined: Jan 10, 2006
Posts: 1
|
|
hi, i connect the sdk with java but that shows this error Exception in thread "main" java.lang.UnsatisfiedLinkError: no sdkjcalls 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 RequestProcessor.<clinit>(RequestProcessor.java:21) at simpler.communicateWithQB(simpler.java:158) at simpler.main(simpler.java:48)
|
 |
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
|
|
This isn't a problem with RMI, etc. so I'm moving this post to "Other Java APIs". This is a problem with JNI - sdkjcalls.dll is a native library for QuickBooks, and the error being thrown states that the JVM can't find the specified DLL in the path. You can fix this by adding the directory containing the DLL to your OS's PATH environment variable, moving the DLL to a directory already on the PATH, specifying the directory using the -Djava.library.path property="path to dll" on the command line when starting your program, or specifying a path to the DLL when you use ClassLoader.loadLibrary().
|
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
|
 |
 |
|
|
subject: connect sdk with java
|
|
|