2014-12-11 07:17:29 -05:00
|
|
|
# The Client Classpath
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2015-04-27 17:32:30 -04:00
|
|
|
Apache ActiveMQ Artemis requires several jars on the *Client Classpath* depending on
|
|
|
|
whether the client uses Apache ActiveMQ Artemis Core API, JMS, and JNDI.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
|
|
|
> **Warning**
|
|
|
|
>
|
|
|
|
> All the jars mentioned here can be found in the `lib` directory of the
|
2015-04-27 17:32:30 -04:00
|
|
|
> Apache ActiveMQ Artemis distribution. Be sure you only use the jars from the correct
|
2014-12-04 10:25:29 -05:00
|
|
|
> version of the release, you *must not* mix and match versions of jars
|
2015-04-27 17:32:30 -04:00
|
|
|
> from different Apache ActiveMQ Artemis versions. Mixing and matching different jar
|
2014-12-04 10:25:29 -05:00
|
|
|
> versions may cause subtle errors and failures to occur.
|
|
|
|
|
2015-04-27 17:32:30 -04:00
|
|
|
## Apache ActiveMQ Artemis Core Client
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2015-04-27 17:32:30 -04:00
|
|
|
If you are using just a pure Apache ActiveMQ Artemis Core client (i.e. no JMS) then you
|
2014-12-04 10:25:29 -05:00
|
|
|
need `activemq-core-client.jar`, `activemq-commons.jar`, and `netty.jar`
|
|
|
|
on your client classpath.
|
|
|
|
|
2014-12-11 07:17:29 -05:00
|
|
|
## JMS Client
|
2014-12-04 10:25:29 -05:00
|
|
|
|
|
|
|
If you are using JMS on the client side, then you will also need to
|
2015-01-12 10:52:38 -05:00
|
|
|
include `activemq-jms-client.jar` and `geronimo-jms_2.0_spec.jar`.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
|
|
|
> **Note**
|
|
|
|
>
|
2015-01-12 10:52:38 -05:00
|
|
|
> `geronimo-jms_2.0_spec.jar` just contains Java EE API interface classes needed
|
2014-12-04 10:25:29 -05:00
|
|
|
> for the `javax.jms.*` classes. If you already have a jar with these
|
|
|
|
> interface classes on your classpath, you will not need it.
|