windward-studios / ikvm8

Other
173 stars 36 forks source link

JVM.dll and ikvm-native #6

Open he-man71 opened 5 years ago

he-man71 commented 5 years ago

Hi, in previous versions of ikvm (i.e. the ones maintained by Jeroen Frijters) the distribution package contained the following libraries:

bin\ikvm-native-win32-x64.dll bin\ikvm-native-win32-x86.dll bin-x64\JVM.dll bin-x86\JVM.dll

However, the Windward package does not include them anymore. Does that mean that they are no longer needed? And if the answer is no, how does native interop work in this version?

he-man71 commented 5 years ago

Any comment?

ghost commented 5 years ago

Speaking for the team at Windward, we don't think they're needed anymore. But we don't know for sure.

It does work for us fine without them.

he-man71 commented 5 years ago

In the end it turned out that these 2 libraries were required:

bin\ikvm-native-win32-x64.dll bin\ikvm-native-win32-x86.dll

Without them JNI does not work properly for us and results in an UnsatisfiedLinkError when a native DLL needs to be loaded.

The other 2 libs weren't needed for us.