# How would you import an external library into processing?

**URL:** https://discourse.processing.org/t/how-would-you-import-an-external-library-into-processing/27337
**Category:** Libraries
**Created:** [January 24, 2021, 3:58pm UTC](https://discourse.processing.org/t/how-would-you-import-an-external-library-into-processing/27337 "2021-01-24T15:58:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)
#### Post date: [January 24, 2021, 3:58pm UTC](https://discourse.processing.org/t/how-would-you-import-an-external-library-into-processing/27337/1 "2021-01-24T15:58:10Z")

</div>

I have this game in which I want to use an AI engine for the opponent, but it requires I use an external file as making an AI for this game is VERY complicated. However, I found a great java library that has everything I need, but I cannot import it into processing. It doesn’t come with a jar file, so how do I import it?

---

<div class="post-metadata">

### Author: ![SNICKRS](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SNICKRS](https://discourse.processing.org/u/SNICKRS)
#### Post date: [January 25, 2021, 2:29pm UTC](https://discourse.processing.org/t/how-would-you-import-an-external-library-into-processing/27337/2 "2021-01-25T14:29:52Z")

</div>

Actually, instead of using the library, I found that I can make a process using processbuilder, and then I can send data to the process using outputstream
