• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

connect sdk with java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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().
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic