UNSOLVED

rpakala

updated

15 years ago

R

rpakala

8 Posts

0

1300

August 15th, 2011 20:00

Eclipse Setup for XAM Sample code to work...

Hi,

The sample StoreContent.java works fine from the Command line, however the same code doesn;t work from Eclipse.

XAM Error occured: Error loading XAM Library or its dependencies(0)

org.snia.xam.XAMException

: Error loading XAM Library or its dependencies

at org.snia.xam.XAMLibraryObj. (Unknown Source)

at org.snia.xam.XAMLibraryObj.getLibrary(Unknown Source)

at org.snia.xam.util.XAMLibraryFactory.newXAMLibrary(Unknown Source)

at com.xx.yy.zzz.drivers.xam.StoreContent.main(

StoreContent.java:120)

No compilation errors, so thinking Classpath is correct.

XAM_VIM_PATH is added in the Environemnt for the Run Configuration and running the sample results in error.

Any Suggestions to over come this?

Please help.

  • rpakala

    8 Posts

    425

    0

    Posted August 18th, 2011 07:00

    Ok, Thanks. I found out on how to add dll's into Eclipse (Basically you can add dll in the Native Libararies) and solved.