ImageGear for Java
ImGearNativePath Class
Members  
This class obtains a path and manages the loading of native libraries associated with ImageGear Java on Windows systems.

At the first use of ImGearLicense it automatically looks for a path containing ImageGear Java's igjcommonnative2 native library. It does this by first finding the operating system architecture and then looking for either the environment variable, IMAGE_GEAR_64BIT_PATH, for 64 bits, or IMAGE_GEAR_32BIT_PATH, for 32 bits. These are expected to contain paths to the appropriate folder of native libraries.

If the variable does not exist, it looks in the components of the java.library.path System property. You can set the path to the native libraries to appear in this property in two ways:

  1. by adding the path to the operating system's path environment variable
  2. by invoking the Java Virtual Machine with the argument -D java.library.path=<path to native binaries>

Setting the operating system's path in the first way will prevent you from using the 32 and 64 bit SDKs simultaneously, since it will always find the version that is first.

The last place it looks is in a bin peer folder of the one the SDK jars were loaded from.

You can specify the native library location programmatically by calling the method, setPath before calling any licensing code, like ImGearLicense.setSolutionName, or after, if the search above does not find a path.

Syntax
public class ImGearNativePath 
    extends Object 
Inheritance Hierarchy

java.lang.Object
   com.accusoft.imagegear.core.ImGearNativePath

See Also

Reference

ImGearNativePath Members
com.accusoft.imagegear.core Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback