Sun Java Communications Suite 5 Event Notification Service Guide

ProcedureTo compile the JmsSample program

  1. Set your CLASSPATH to include the following:

    ens.jar file - ens.jar

    (For Messaging Server, the ens.jar is located in the msg-server-base/java/jars/ directory.)

    Java Message Service - full-path/jms1.0.2/jms.jar

  2. Change to the msg-server-base/examples/enssdk/java directory.

  3. Run the following command:


    javac com/iplanet/ens/samples/JmsSample.java