My java class uses System.load() to … load an external dll. In pure java it's OK. If I call my java class from python via jpype, I have the error :
"jpype._jexception.LinkageErrorPyRaisable: java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\my.dll: Can't find dependent libraries"
I have tried with System.loadLibrary() to use the full path, without success.
If anybody have an idea …
I confess I am at a loss here. JPype doesnt play with paths and library paths (unless done explicitly as an option ot the startJVM function).
I guess it's possible that the java,exe launcher adds a few directories by default to the dll search path that Jpype doesnt, but I have no idea how to test that hypothesis. Nor would I be able to replicate the functionality in a platform-independent manner (java.exe is platform-dependent and can afford platform-specific functionality).
I've found. dlls were missed in C:\WINDOWS\system32\.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.