从命令提示符注册djecjni.dll时,我收到以下错误:
LoadLibrary("C:\Software\Pervasive\Cosmos9\Common\djecjni.dll") failed。
我在命令提示符下使用以下命令注册dll:
regsvr32 "C:\Software\Pervasive\Cosmos9\Common\djecjni.dll"
我试图从Java运行djecjni.dll文件,但是我得到了这个错误:
The operating system cannot run C:\Software\Pervasive\Cosmos9\Common\djecjni.dll
java.lang.UnsatisfiedLinkError: djecjni.dll (The operating system cannot run
C:\Software\Pervasive\Cosmos9\Common\djecjni.dll. )
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:993)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:962)
at java.lang.System.loadLibrary(System.java:465)
at DataJunction.ec.NEngine.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at DataJunction.ec.Engine.<init>(Unknown Source)我已经在path中添加了dll,但dll仍然无法运行。有没有人能提供一些建议来解决上面两个问题?
发布于 2012-07-07 10:00:39
什么操作系统?根据这个错误,我猜测DLL是32位的,而您只安装了64位的Java。也可能是没有安装Java。
https://stackoverflow.com/questions/11370521
复制相似问题