Community articleSetting Up the Java Development Environment (Streaming only) on AIX, Linux, and Solaris
Added by IBM contributorIBM on May 2, 2012
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

You must configure your integrated development environment to use the API. You must also ensure that your computer can run applications that use the API.



You must configure your integrated development environment to use the API. You must also ensure that your computer can run applications that use the API.
Note: You cannot configure your system to use both the Classic and Streaming Java APIs. You must choose only one.

To configure your integrated development environment to use the Streaming API:

Add the following file to your CLASSPATH:
   /usr/lib/PureEdge/80/java/classes/StreamingAPI.jar


Note: You cannot add both Classic and Streaming Java API files to your classpath. If you do, you will receive errors and your application will not work.

To configure your computer to run applications that use the API:

  1. Include the following files in your CLASSPATH environment variable:
  2.    /usr/lib/PureEdge/80/java/classes/StreamingAPI.jar

  3. On a Linux or Solaris system, include the following directory in the LD_LIBRARY_PATH environment variable:
  4.    /usr/lib/:/usr/lib/PureEdge/80/system/
       <path_to_directory_containing_the_Netscape_Security_Libraries>

    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
       <path_to_directory_containing_the_Netscape_Security_Libraries>


    Note: To find the Netscape Security Libraries directory, search for the libnss3.so file.