# Exporting processing.py project as jar file

**URL:** <https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366>\
**Category:** Processing.py\
**Created:** [October 5, 2020, 7:45pm UTC](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366 "2020-10-05T19:45:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pi3point1415](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@pi3point1415](https://discourse.processing.org/u/pi3point1415)\
**Post date:** [October 5, 2020, 7:45pm UTC](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366/1 "2020-10-05T19:45:29Z")

</div>

I have been trying to find a way to export a processing.py project as a single jar file. I am aware of the way to do it with a normal processing project (export, extract core.jar and projectname.jar, compress into a jar file), but I’ve been unable to do the same thing with a python project. The closest I’ve gotten is running the python project on the command line (java -jar processing-py.jar projectname), but I haven’t had any luck beyond that. Does anybody know how to do this?

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [October 5, 2020, 8:02pm UTC](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366/2 "2020-10-05T20:02:35Z")

</div>

Great question @pi3point1415!

I’m afraid I can’t help much, but may I ask why the “export application” command in the IDE wouldn’t be enough for your situation?

It creates a bundle/folder with all the things needed to run the sketch (Mac, Win or Linux).

---

<div class="post-metadata">

**Author:** ![pi3point1415](https://avatars.discourse-cdn.com/v4/letter/p/7bcc69/32.png) [@pi3point1415](https://discourse.processing.org/u/pi3point1415)\
**Post date:** [October 5, 2020, 8:20pm UTC](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366/3 "2020-10-05T20:20:11Z")

</div>

It does work to an extent, but it’s nice to have a single jar file to share with people, rather than having to send a zip file with all of the exported files in it and requiring the other person to extract it first. It’s not a big deal, but since I can do it with regular processing mode, I feel like there should be some way to do it in processing.py.

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [October 5, 2020, 8:45pm UTC](https://discourse.processing.org/t/exporting-processing-py-project-as-jar-file/24366/4 "2020-10-05T20:45:24Z")

</div>

Yeah! I’d say it would be great to have this as an option, on export, for both modes!
