packages-jpl icon indicating copy to clipboard operation
packages-jpl copied to clipboard

Exception in thread "main" java.lang.UnsatisfiedLinkError: ..\jpl.dll: The specified procedure could not be found

Open akjoshi opened this issue 2 years ago • 3 comments

Issue similar to: https://github.com/SWI-Prolog/packages-jpl/issues/34

Exception in thread "main" java.lang.UnsatisfiedLinkError: ..\jpl.dll: The specified procedure could not be found

I checked the jpl.dll using dependency walker and the missing component seems to be a dll call in jvm.dll QueryOOBESupport, ext-ms-win-oobe-query-l1-1-0.dll

image

I can't locate this dll anywhere.

Any pointers would be greatly appreciated. Thanks in advance.

JVM details: java.vm.name OpenJDK 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 17

akjoshi avatar Mar 03 '22 21:03 akjoshi

Might be better to check on SWI-Prolog's Discourse platform. Please also include the Windows version. I have no clue except that for most people this doesn't seem to be an issue. Searching for the dll gives some hints. Surely this dll is not directly accessed by the SWI-Prolog Java bridge.

JanWielemaker avatar Mar 04 '22 09:03 JanWielemaker

thanks @JanWielemaker . It's Windows 10. Seems a rare issue and very few webpages mention about it (and no solutions).

os.arch amd64 os.name Windows 10

akjoshi avatar Mar 05 '22 14:03 akjoshi

Might be related to arm64? If the JVM is arm64 you probably also need an arm64 version of swi-prolog. We do not provide binaries for this. Quite likely they can be compiled with no or few changes, mostly figuring out the proper build tools.

In any case, the Intel version will be slow ...

JanWielemaker avatar Mar 05 '22 14:03 JanWielemaker