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**
|
|
|
|
>
|
2018-03-09 10:07:38 -05: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 version of the release, you *must not* mix and match versions of
|
|
|
|
> jars from different Apache ActiveMQ Artemis versions. Mixing and matching
|
|
|
|
> different jar versions may cause subtle errors and failures to occur.
|
2014-12-04 10:25:29 -05:00
|
|
|
|
2018-03-09 10:07:38 -05: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.).
|