执行iobject java 时报错

0 投票
java.lang.UnsatisfiedLinkError: F:\A_supermap\superMap_file\SMO_Java_811_14428_59859_Win_vc11_CHS_Zip\Bin\WrapjGeo.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 at java.lang.System.loadLibrary(System.java:1028)
 at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
 at com.supermap.data.Environment.<clinit>(Unknown Source)
 at com.supermap.data.InternalHandle.<clinit>(Unknown Source)
 at com.sqlQuery.SampleRun.main(SampleRun.java:60)
java.lang.UnsatisfiedLinkError: F:\A_supermap\superMap_file\SMO_Java_811_14428_59859_Win_vc11_CHS_Zip\Bin\WrapjGeo.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 at java.lang.System.loadLibrary(System.java:1028)
 at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
 at com.supermap.data.InternalHandle.<clinit>(Unknown Source)
 at com.sqlQuery.SampleRun.main(SampleRun.java:60)
java.lang.UnsatisfiedLinkError: F:\A_supermap\superMap_file\SMO_Java_811_14428_59859_Win_vc11_CHS_Zip\Bin\WrapjGeo.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 at java.lang.System.loadLibrary(System.java:1028)
 at com.supermap.data.Environment.LoadWrapJ(Unknown Source)
 at com.supermap.data.Workspace.<clinit>(Unknown Source)
 at com.sqlQuery.SampleRun.main(SampleRun.java:60)
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.supermap.data.WorkspaceNative.jni_InitPlugins()V
 at com.supermap.data.WorkspaceNative.jni_InitPlugins(Native Method)
 at com.supermap.data.Workspace.loadPlugins(Unknown Source)
 at com.supermap.data.Workspace.<clinit>(Unknown Source)
 at com.sqlQuery.SampleRun.main(SampleRun.java:60)
 

请问一下,这是什么原因呢??
10月 22, 2018 分类:  320次浏览 | 用户: 永远有多远1 牛刀小试 (195 分)

1个回答

0 投票
你好,根据你的报错信息是位数的问题,你使用的是32位的Java组件吗?你在配置环境变量的时候需要配置对应版本的jdk路径。
10月 22, 2018 用户: 董懿鑫 名扬四海 (3,259 分)
...