首页 / 浏览问题 / 组件GIS / 问题详情
执行iobject java 时报错
209EXP 2018年10月22日
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)
 

请问一下,这是什么原因呢??

1个回答

你好,根据你的报错信息是位数的问题,你使用的是32位的Java组件吗?你在配置环境变量的时候需要配置对应版本的jdk路径。
9,242EXP 2018年10月22日
...