Configuring the command-line environment to run custom integration applications

Use the command line on your computers to configure the environment to run your custom integration applications.

About this task

To run your custom integration applications with your chosen operating system, you must update the CLASSPATH environment variable:

Procedure

  1. Add the IBM® Integration API JAR files to your CLASSPATH.
    To add the JAR files to your CLASSPATH:
    • Linux platformUNIX platformOn Linux® and UNIX:
      export CLASSPATH = $CLASSPATH%;$install_dir/server/classes/IntegrationAPI.jar:
      $install_dir/common/jackson/lib/jackson-annotations-2.9.8.jar:
      $install_dir/common/jackson/lib/jackson-core-2.9.8.jar:
      $install_dir/common/jackson/lib/jackson-databind-2.9.8.jar:
      $install_dir/common/jackson/lib/jackson-dataformat-yaml-2.9.8.jar:
      $install_dir/common/jackson/lib/snakeyaml-1.23.jar:
      $install_dir/common/jetty/lib/jetty-io.jar:
      $install_dir/common/jetty/lib/jetty-util.jar:
      $install_dir/common/jetty/lib/websocket-api.jar:
      $install_dir/common/jetty/lib/websocket-client.jar:
      $install_dir/common/jetty/lib/websocket-common.jar:
      $install_dir/common/jetty/lib/jetty-client.jar:
      $install_dir/common/jetty/lib/jetty-http.jar:
    • For local connections on Linux and UNIX, also add:
      $install_dir/common/jnr/lib/jnr-a64asm-1.0.0.jar:
      $install_dir/common/jnr/lib/jnr-constants-0.9.12.jar:
      $install_dir/common/jnr/lib/jnr-enxio-0.21.jar:
      $install_dir/common/jnr/lib/jnr-ffi-2.19.jar:
      $install_dir/common/jnr/lib/jnr-posix-3.0.50.jar:
      $install_dir/common/jnr/lib/jnr-unixsocket-0.23.jar:
      $install_dir/common/jnr/lib/jnr-x86asm-1.0.2.jar:
      $install_dir/common/jnr/lib/asm-7.0.jar:
    • Windows platformOn Windows:
      set CLASSPATH = %CLASSPATH%;%install_dir%\server\classes\IntegrationAPI.jar
      %install_dir\common\jackson\lib\jackson-annotations-2.9.8.jar;
      %install_dir\common\jackson\lib\jackson-core-2.9.8.jar;
      %install_dir\common\jackson\lib\jackson-databind-2.9.8.jar;
      %install_dir\common\jackson\lib\jackson-dataformat-yaml-2.9.8.jar;
      %install_dir\common\jackson\lib\snakeyaml-1.23.jar;
      %install_dir\common\jetty\lib\jetty-io.jar;
      %install_dir\common\jetty\lib\jetty-util.jar;
      %install_dir\common\jetty\lib\websocket-api.jar;
      %install_dir\common\jetty\lib\websocket-client.jar;
      %install_dir\common\jetty\lib\websocket-common.jar;
      %install_dir\common\jetty\lib\jetty-client.jar;
      %install_dir\common\jetty\lib\jetty-http.jar;
  2. Add your Java™ development directory to the CLASSPATH in the same way.

What to do next

Use the tools that are provided by your JDK to build and run your custom integration applications.