Unsolved
This post is more than 5 years old
3 Posts
0
3436
June 5th, 2009 03:00
Cintera XAM Problems
Hello,
I've problems getting my code using Cintera XAM Library and VIM to work. The code compiles fine, but i get the following exception when i call XAMLibraryFactory.newXAMLibrary() (Windows Vista 64Bit)
Exception in thread "main" org.snia.xam.XAMException: Error loading XAM Library or its dependencies
at org.snia.xam.XAMLibraryObj. (XAMLibraryObj.java:1418)
at org.snia.xam.XAMLibraryObj.getLibrary(XAMLibraryObj.java:1281)
at org.snia.xam.util.XAMLibraryFactory.newXAMLibrary(XAMLibraryFactory.java:89)
at examples.HelloWorld.main(HelloWorld.java:27)
What i've done so far:
- downloaded "Centera SDK for XAM" and "Centera SDK for XAM VIM" and compiled my source against XAMLibrary.jar (the one contained in the "Centera SDK for XAM" package")
- set "XAM_VIM_PATH" environment-variable to "D:\Libraries\centera_sdk_vim\lib64"
What i'm doing wrong? Am i missing something?
Regards,
Gernot


gstuartemc
2 Intern
•
417 Posts
0
June 9th, 2009 01:00
This is a standard Java error indicating that either the jar files or the underlying JNI implementation of the API calls cannot be loaded.
Are the VIM dlls located in a directory on your PATH? The XAM_VIM_PATH only determines where the actual VIM objects are searched for, the other dll must be locatable in the normal way.
This may work, but as you are running on an unsupported platform (the SDK and VIM have not been qualified for Vista) then you may experience further issues even if this solves the initial problem.