ArcObjectsSDKJava

创建日期:2024-06-21
更新日期:2025-01-20

重要:ArcObjectsSDKJava开发资料太少,请使用.NET开发。

常见问题

1、启动java帮助报错:You are not using a supported Windows Operating System.  See http:~/~/support.esri.com for a list.。

编辑C:\Program Files (x86)\ArcGIS\DeveloperKit10.0\java\docs\startJavaHelp.bat,将

echo You are not using a supported Windows Operating System.  See http://support.esri.com for a list.
pause
goto end

修改为

goto setWinVista7Server08Workspace
REM echo You are not using a supported Windows Operating System.  See http://support.esri.com for a list.
REM pause
REM goto end

2、Could not load native libraries. no ntvinv in java.library.path。

将C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin添加到环境变量。

3、java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin\ntvinv.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform。

安装32位jdk,idea打开模块设置,项目,使用32位jdk。

4、AutomationException: 0x800401f5 - The specified product or version does not exist on this machine. in 'ArcGISVersion.Version'。AutomationException: 0x800401f6 - ArcGIS product not specified.  You must first bind to an ArcGIS version prior to using any ArcGIS components. in 'esriSystem.AoInitialize'

未知。