# Java Programmer’s Checklist

## Install

- Install the EMS software release, which automatically includes the EMS jar files in the EMS_HOME/lib subdirectory.
- Add the full pathnames for the following jar files to your `CLASSPATH`:

         jms-2.0.jar
         tibjms.jar

- Programs that use the unshared state failover API must add the following file to the `CLASSPATH`:

         tibjmsufo.jar

Note: All jar files listed in this section are located in the `lib` subdirectory of the TIBCO Enterprise Message Service installation directory.

## Code

Import the following packages into your EMS application:

       import javax.jms.*;
       import javax.naming.*;

## Compile

Compile your EMS application with the `javac` compiler to generate a `.class` file.

For example:

       javac MyApp.java

generates a `MyApp.class` file.

## Run

Use the `java` command to execute your EMS `.class` file.

For example:

       java MyApp

Copyright © Cloud Software Group, Inc. All rights reserved.