Community articleSetting the Environmental Variables
Added by IBM contributorIBM on November 25, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.



Before a computer can run applications that use the API, you must set its CLASSPATH environment variable to include the following files:
   /usr/lib/PureEdge/80/java/classes/pe_api.jar
   /usr/lib/PureEdge/80/java/classes/pe_api_native.jar
   /usr/lib/PureEdge/80/java/classes/uwi_api.jar
   /usr/lib/PureEdge/80/java/classes/uwi_api_native.jar
   /usr/lib/PureEdge/80/java/classes/commons-codec.jar
   /usr/lib/PureEdge/80/java/classes/xmlsec-1.4.1.jar

Additionally, on a Linux or Solaris system, include the following directory in the LD_LIBRARY_PATH environment variable:
   /usr/lib/:/usr/lib/PureEdge/80/system/

On an AIX® system, include the following directories in the LIBPATH environment variable:
   /lib 
   /usr/lib 
   /usr/lib/PureEdge/80/system 
   /<path to JVM>/jre/bin/classic 
   /<path to JVM>/jre/bin


Note: If you did not install the API in the /usr/lib directory, use the appropriate directory in the above settings. For example, if you installed the API in /home/jdoe then you would use /home/jdoe/.PureEdge/80/system.