# Where can I get the JAR for the sandbox-next or HTTP-JSON API processes?

**URL:** <https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427>\
**Category:** App Development\
**Tags:** sandbox\
**Created:** [May 12, 2020, 8:52am UTC](https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427 "2020-05-12T08:52:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [May 12, 2020, 8:52am UTC](https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427/1 "2020-05-12T08:52:34Z")

</div>

I looked at the SDK releases and it seems that they only include one big fat JAR `daml-sdk.jar`. Are separate JARs for the components published anywhere?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 12, 2020, 9:06am UTC](https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427/2 "2020-05-12T09:06:42Z")

</div>

We only publish sandbox and the JSON API as libraries atm not as standalone fat JARs. I believe we also only publish sandbox-classic and not sandbox-next. You can see the full list of artifacts that are published at [daml/artifacts.yaml at 7e0377dd76e0ff4be6cb3b2604eb7f80ea041bab · digital-asset/daml · GitHub](https://github.com/digital-asset/daml/blob/7e0377dd76e0ff4be6cb3b2604eb7f80ea041bab/release/artifacts.yaml).

---

<div class="post-metadata">

**Author:** ![SamirTalwar](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/samirtalwar/32/374_2.png) [@SamirTalwar](https://forum.canton.network/u/SamirTalwar)\
**Post date:** [May 12, 2020, 9:21am UTC](https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427/3 "2020-05-12T09:21:08Z")

</div>

Sandbox Classic and Sandbox Next are part of the same Sandbox JAR. If you have one, you have the other.

The main class name for Sandbox Next is `com.daml.platform.sandboxnext.Main`. If you have a fat JAR, you may be able to run it with a command something like this:

```shell
java -cp sandbox.jar com.daml.platform.sandboxnext.Main [args...]

```

---

<div class="post-metadata">

**Author:** ![SamirTalwar](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/samirtalwar/32/374_2.png) [@SamirTalwar](https://forum.canton.network/u/SamirTalwar)\
**Post date:** [May 12, 2020, 9:35am UTC](https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427/4 "2020-05-12T09:35:34Z")

</div>

To build your own fat JAR, you can suffix a `java_binary` Bazel target with `_deploy.jar`. So to build Sandbox Next as a fat JAR, you can run:

```shell
bazel build //ledger/sandbox/sandbox-next-binary_deploy.jar

```

The fat JAR will be built in `bazel-bin/ledger/sandbox/sandbox-next-binary_deploy.jar`.

You can then run it like so:

```shell
java -jar bazel-bin/ledger/sandbox/sandbox-next-binary_deploy.jar [args...]

```

And, of course, you can copy it wherever you like, as it’s standalone.

---

<div class="post-metadata">

**Author:** ![Gary\_Verhaegen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gary_verhaegen/32/81_2.png) [@Gary\_Verhaegen](https://forum.canton.network/u/Gary_Verhaegen)\
**Post date:** [May 29, 2020, 11:02am UTC](https://forum.canton.network/t/where-can-i-get-the-jar-for-the-sandbox-next-or-http-json-api-processes/427/5 "2020-05-29T11:02:56Z")

</div>

We have started experimenting with publishing fatjars. This is still very much subject to change, but if you’re not afraid of breaking changes (in the publication method/location; this is not a comment on the maturity of the components themselves), you can help us test the new setup.

Starting with snapshot `1.2.0-snapshot.20200520.4228.0.595f1e27`, you can find the JSON API at  
[https://daml-binaries.da-ext.net/json-api/http-json-1.2.0-snapshot.20200520.4228.0.595f1e27.jar](https://daml-binaries.da-ext.net/json-api/http-json-1.2.0-snapshot.20200520.4228.0.595f1e27.jar)

You can append `.asc` to the filename to get a signature file (same as for the release artifacts on GitHub; see [install docs](https://docs.daml.com/getting-started/installation.html#alternative-manual-download) for how to check those). We may start publishing more components that way in the future (or stop altogether; as I said, consider this very alpha at this point).

Alternatively, if you are not concerned about JAR file size or code bloat at the moment, you can change the default `main` method of the daml-sdk jar to create a standalone tool as I explained [here](https://discuss.daml.com/t/sdkv1-of-extractor/180/4). You can check [here](https://github.com/digital-asset/daml/blob/404d043b220708843daa80ec3a07cc0ce375d050/daml-assistant/daml-sdk/src/main/scala/com/digitalasset/daml/sdk/SdkMain.scala#L6-L13) for a list of main class for each app.
