djecjni.dll的问题

时间:2012-07-06 22:35:54

标签: java pervasive

从命令提示符注册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)

我在路径中添加了dll,但仍然无法运行dll。有人可以提出一些解决上述问题的技巧吗?

1 个答案:

答案 0 :(得分:0)

什么操作系统?根据错误,我猜这个DLL是32位,你只安装了64位Java。也可能是没有安装Java。