18.7. The Client Classpath

HornetQ requires several jars on the Client Classpath depending on whether the client uses HornetQ Core API, JMS, or JNDI.

Warning

All the jars mentioned here can be found in the EAP_HOME/bin/client directory of the HornetQ distribution. Be sure you only use the jars from the correct version of the release, you must not mix and match versions of jars from different HornetQ versions. Mixing and matching different jar versions may cause subtle errors and failures to occur.
To set the client classpath, include EAP_HOME/bin/client/jboss-client.jar. You can also use Maven dependency settings as described in the EAP_HOME/bin/client/README-EJB-JMS.txt.