intellij idea - java.lang.UnsatisfiedLinkError: Failed to load OneTick Java API native library libjomd.so/jomd.dll -


i trying run application uses onetick. needs dll files work, 1 of jomd.dll. working in intellij. put file location in vm arguments list :

-djava.library.path=c:\users\one_tick\bin

but shows me following error:

exception in thread "main":org.springframework.beans.factory.beancreationexception: error creating bean name 'a' defined in class path resource [x/y/z/a.xml]: bean instantiation via constructor failed; nested exception java.lang.unsatisfiedlinkerror: failed load onetick java api native library libjomd.so/jomd.dll. path library can specified via -djava.library.path command line option or via ld_library_path/path. if library in path, ensure dependencies loadable, , java binary compatible library (e.g. ensure don't load 64-bit library within 32-bit java or vice versa).c:\users\one_tick\bin\jomd.dll: can't find dependent libraries.

but don't error when make "c:\users\one_tick\bin" current working directory.

this tried:

  1. put "c:\users\one_tick\bin" in path environment variable. didn't work.
  2. added directory "c:\users\one_tick\bin" directory dependency in intellij module settings. didn't work.
  3. tried dependency walker see if dependencies missing. got this:

dependency walker output on jomd.dll

  1. i went through http://javarevisited.blogspot.com/2012/03/javalangunsatisfiedlinkerror-no-dll-in.html , didn't clue how solve this.

5.i deleted jomd.dll temp file, located in appdata. didn't help.

can me this. don't understand how dies work when change current working directory "c:\users\one_tick\bin".


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -