Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connect sdk with java

 
joseph visuvasam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic