# Packaging everything as a runnable Jar file

**URL:** <https://community.gatling.io/t/packaging-everything-as-a-runnable-jar-file/5309>\
**Category:** Gatling (Open-Source)\
**Created:** [October 22, 2019, 8:26pm UTC](https://community.gatling.io/t/packaging-everything-as-a-runnable-jar-file/5309 "2019-10-22T20:26:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarrowwx](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jarrowwx](https://community.gatling.io/u/jarrowwx)\
**Post date:** [October 22, 2019, 8:26pm UTC](https://community.gatling.io/t/packaging-everything-as-a-runnable-jar-file/5309/1 "2019-10-22T20:26:44Z")

</div>

I need to run my simulations on a machine where it might be difficult, maybe even impossible, to build the code.

I was thinking, I should be able to package everything into a Jar file, and then execute it via Java . . .

Before I go too far down this rabbit hole: is there a . . . supported . . . way of launching Gatling from such a Jar? If so, can you give me a sample command-line for running a particular simulation (or point to the relevant documentation page)

Or would I be interacting with something that is internal and not meant to be coded against? Because if that is the case, I’ll honor that and stop this thought experiment right here. 🙂

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 22, 2019, 9:41pm UTC](https://community.gatling.io/t/packaging-everything-as-a-runnable-jar-file/5309/2 "2019-10-22T21:41:09Z")

</div>

The only official supported way to do that (actually, more or less that, but that’s private internal details) is FrontLine.
