2014-12-11 07:17:29 -05:00
|
|
|
# The Client Classpath
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2017-10-30 10:48:07 -04:00
|
|
|
Apache ActiveMQ Artemis requires just a single jar on the *client classpath*.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
|
|
|
> **Warning**
|
|
|
|
>
|
2017-10-30 10:48:07 -04:00
|
|
|
> The client jar mentioned here can be found in the `lib/client` directory of the
|
|
|
|
> Apache ActiveMQ Artemis distribution. Be sure you only use the jar 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.
|
|
|
|
|
2017-10-30 10:48:07 -04:00
|
|
|
Whether you are using JMS or just the Core API simply add the `artemis-jms-client-all.jar`
|
|
|
|
from the `lib/client` directory to your client classpath. This is a "shaded" jar that
|
|
|
|
contains all the Artemis code plus dependencies (e.g. JMS spec, Netty, etc.).
|