ERROR

java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path

Last Published: December 18, 2024

Error Message

When compiling or executing a Java application that uses the ArcObjects Java API, the following error is returned:

Error:   
java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path

Cause

The PATH variable does not include a directory which contains the native libraries required for ArcObjects Java classes to function.

Solution or Workaround

Add the directory containing the native libraries required by ArcObjects Java to the PATH variable.

  • On both Windows and Unix platforms, add either one of the following directories to the PATH variable:

    A. $ARCENGINEHOME\java\jre\bin

    B. $ARCENGINEHOME\bin

    Note:
    $ARCENGINEHOME may have to be replaced with the location of the ArcGIS SDK installation.
  • Unix also provides the option of running the ArcEngine helper scripts in $ARCENGINEHOME: init_engine.csh or init_engine.sh.
  • Refer to the environment settings documentations in the Related Information section for additional information.

Article ID: 000007942

Software:
  • ArcGIS Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options