# Generate a Gatling Simulation jar file from a "Gatling - Gradle (Groovy) - Java" project

**URL:** <https://community.gatling.io/t/generate-a-gatling-simulation-jar-file-from-a-gatling-gradle-groovy-java-project/8265>\
**Category:** Gatling (Open-Source)\
**Created:** [September 4, 2023, 7:42pm UTC](https://community.gatling.io/t/generate-a-gatling-simulation-jar-file-from-a-gatling-gradle-groovy-java-project/8265 "2023-09-04T19:42:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![itorres](https://avatars.discourse-cdn.com/v4/letter/i/ac8455/32.png) [@itorres](https://community.gatling.io/u/itorres)\
**Post date:** [September 4, 2023, 7:42pm UTC](https://community.gatling.io/t/generate-a-gatling-simulation-jar-file-from-a-gatling-gradle-groovy-java-project/8265/1 "2023-09-04T19:42:51Z")

</div>

Hi,

I would like to generate a jar file from a Gatling Simulation project based on: **Gradle (Groovy) - Java**

I think the first step is to generate a **java main method** where any simulation can be passed as an argument (optional), then build the project to generate the \*.jar file, so I can run the Gatling Simulation like:

java -jar main\_java\_class.jar

Thanks for the examples/guidance 🙂

---

<div class="post-metadata">

**Author:** ![GatlingPete](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/gatlingpete/32/1167_2.png) [@GatlingPete](https://community.gatling.io/u/GatlingPete)\
**Post date:** [September 5, 2023, 6:55am UTC](https://community.gatling.io/t/generate-a-gatling-simulation-jar-file-from-a-gatling-gradle-groovy-java-project/8265/2 "2023-09-05T06:55:51Z")

</div>

Hey there,

This is not supported in Gatling Open-Source, however the type of functionality you’re trying to achieve can likely be accomplished with one of our Enterprise versions.

If you’re interested in a trial please don’t hesitate to reach out to [customersuccess@gatling.io](mailto:customersuccess@gatling.io).

All the best,  
Pete

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [October 5, 2023, 6:56am UTC](https://community.gatling.io/t/generate-a-gatling-simulation-jar-file-from-a-gatling-gradle-groovy-java-project/8265/3 "2023-10-05T06:56:19Z")

</div>

Closed on October 5, 2023, 6:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
