简体   繁体   English

无法获取 win32-x86-64/xpde.dll 的 InputStream

[英]Can't obtain InputStream for win32-x86-64/xpde.dll

I am getting this error:我收到此错误:

failed with throwable.Unable to load library 'xpde': Can't obtain InputStream for win32-x86-64/xpde.dll throwable 失败。无法加载库“xpde”:无法获取 win32-x86-64/xpde.dll 的 InputStream

When trying to load the dll using jna-4.5.1-direct.jar尝试使用 jna-4.5.1-direct.jar 加载 dll 时

My code is:我的代码是:

NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance("xpde",
                Collections.EMPTY_MAP);

I am using:我在用:

JAVA_VERSION="1.8.0_232"
OS_NAME="Windows"
OS_VERSION="5.2"
OS_ARCH="amd64"

在此处输入图像描述

I am not sure if xpde.dll is 32 bit or 64 bit.我不确定 xpde.dll 是 32 位还是 64 位。 The dll is in a dll folder in my classpath Is this the problem? dll 在我的类路径中的 dll 文件夹中这是问题吗? or other problem?或其他问题?

yes I was missing是的,我失踪了

 jna.library.path

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 没有适用于org.eclipse.swt.win32.win32:x86_64:jar的版本 - No versions available for org.eclipse.swt.win32.win32:x86_64:jar 在Vista 32位和Win 7 64位中访问%ProgramFiles(x86)%的统一方式 - Uniform way to access %ProgramFiles(x86)% in Vista 32 bit and Win 7 64 bit 找不到jarfile:/ F:/eclipse-cpp-mars-2-win32-x86_64.zip!/ - Could not find jarfile:/F:/eclipse-cpp-mars-2-win32-x86_64.zip!/ 无法为Windows x86构建JAssimp.dll - Can't build JAssimp.dll for Windows x86 线程“主”中的异常java.lang.ExceptionInInitializerError:无法从[netlib-native_system-win-x86_64.dll]加载 - Exception in thread “main” java.lang.ExceptionInInitializerError: unable to load from [netlib-native_system-win-x86_64.dll] maven 导入 java swing awt 使用 jdk17 和库版本 (org.eclipse.swt:org.eclipse.swt.win32.win32.x86_64:4.3) - maven import java swing awt working with jdk17 and the version of the library (org.eclipse.swt:org.eclipse.swt.win32.win32.x86_64:4.3) VLCJ全屏错误无法加载库'X11':JNA本机支持(win32-x86 / X11.dll) - VLCJ fullScreen Error Unable to load library 'X11': JNA native support (win32-x86/X11.dll) JNA在Win7 64位机器上使用32位dll - JNA using 32 bit dll on Win7 64 bit machine jmvfw.dll:无法在AMD 64位平台上加载IA 32位.dll - jmvfw.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform tcnative-1.dll 无法在 IA 32 位平台上加载 AMD 64 位 .dll - tcnative-1.dll Can't load AMD 64-bit .dll on a IA 32-bit platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM