aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes connect sdk with java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "connect sdk with java" Watch "connect sdk with java" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connect sdk with java