English

Bug: Attempting to add a Simple Java Add-In to ArcMap throws error and does not load

Description

When attempting to add a Simple Java Add-In to ArcMap, the following error is returned and the Add-In does not load:

No GUI components found in this Add-In. 
Add-in version does not match.

This issue has been reproduced in both ArcGIS Engine and ArcMap versions 10.6.x and 10.7.x

Cause

This error occurs in the following software environment, under the conditions described below.

  • 32-bit Java JDK 1.8
  • 32-bit Eclipse IDE
  • ArcGIS Desktop  10.7.x
  • ArcGIS Engine 10.7.x
  • ArcObjects SDK Java 10.7.x

The Eclipse environment is configured to work with Esri ArcObjects and the ArcMap Add-In Project template. The error is returned when opening a new, blank map in ArcMap and attempting to add the DesktopAddin.SimpleAddin.esriaddin file.

Workaround

The workaround for this issue is to load the Simple Java Add-Ins manually, using the following steps:

  1. Navigate to the install location (default):
C:/ProgramFiles(x86)/ArcGIS/DeveloperKit(x)/java/samples/arcobjects/addin/simpleaddin/lib/DesktopAddin.SimpleAddin.esriaddin
  1. Double-click .esriaddin and click the Install Add-In button.
  1. To verify, open ArcMap, use the Customize drop-down and select the Java > Customize Mode > Commands tab, and confirm that the Simple Java AddIn Created by: ESRI is present under My Add-Ins in the Add-In Manager.