# How to share files between sketches?

**URL:** <https://discourse.processing.org/t/how-to-share-files-between-sketches/10660>\
**Category:** Processing\
**Created:** [April 26, 2019, 1:09pm UTC](https://discourse.processing.org/t/how-to-share-files-between-sketches/10660 "2019-04-26T13:09:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [April 30, 2019, 2:26am UTC](https://discourse.processing.org/t/how-to-share-files-between-sketches/10660/7 "2019-04-30T02:26:36Z")

</div>

A related approach is compiling to jar, then including that jar in Processing (so that all sketches have access to it) – this is less complicated than making it a full library in Contributions Manager. For recent discussion see:

> [@How to include .pde o .java file with path?](https://discourse.processing.org/t/how-to-include-pde-o-java-file-with-path/10646):
>
> Hi, i have a question… I work in a library for processing over 3 years ago, i named this library “gameLibZero” and this is a library for game programming in processing 3.x on Windows, linux, macosx and Android… my problem starts with the code, the library is a .pde file that I must add to any project where I want to use it. The problem is that I can not leave it in a folder where processing is used without having to copy it to the project folder every time … Is there a way to include a .pde …

---

_[View the full topic](https://discourse.processing.org/t/how-to-share-files-between-sketches/10660)._
