Setting the Classpath

When running a Java™ application or Java™ applet, set the environment variable classpath equal to the full pathname of the location of the Java™ classes needed to run the application or applet. For instance, if an HACL Java application is written and copied into the SNA API client subdirectory (for example, C:\CSNTAPI), then:
  • The classpath should be set to:

    C:\CSNTAPI;C:\CSNTAPI\habeans.jar

  • The command line should be:

    set classpath=C:\CSNTAPI;C:\CSNTAPI\habeans.jar

If you are using the Java™ Runtime Environment (JRE), then the classpath environment variable is not used, but the path to the Java™ classes can be specified with the cp option when the JRE is invoked.