# Modify a library

**URL:** https://discourse.processing.org/t/modify-a-library/43270
**Category:** Development
**Created:** [November 20, 2023, 2:15pm UTC](https://discourse.processing.org/t/modify-a-library/43270 "2023-11-20T14:15:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![12walid34](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/12walid34/32/19048_2.png) [@12walid34](https://discourse.processing.org/u/12walid34)
#### Post date: [November 20, 2023, 2:15pm UTC](https://discourse.processing.org/t/modify-a-library/43270/1 "2023-11-20T14:15:43Z")

</div>

Hi everyone, I downloaded a library and I wanted to modify a small functionality, after checking the files, I found the java code files but I don’t know whats the correct approach to apply modification, I guess I can’t just open the \*.java files and change into them, they need to be recompiled/reimported? can anyone clarify to me how it works, thank you

---

<div class="post-metadata">

### Author: ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)
#### Post date: [November 20, 2023, 9:09pm UTC](https://discourse.processing.org/t/modify-a-library/43270/2 "2023-11-20T21:09:08Z")

</div>

Hi  
Welcome

Look at this

> **[Processing 2.x and 3.x Forum](https://forum.processing.org/two/discussion/14620/where-can-i-edit-contributed-library-source-code.html)**
>
> Processing is an electronic sketchbook, a language and a worldwide community. This is its forum.

---

<div class="post-metadata">

### Author: ![12walid34](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/12walid34/32/19048_2.png) [@12walid34](https://discourse.processing.org/u/12walid34)
#### Post date: [November 20, 2023, 10:03pm UTC](https://discourse.processing.org/t/modify-a-library/43270/3 "2023-11-20T22:03:33Z")

</div>

thanks for your reply, just found the solution, I needed to export the modified code into a _.jar_ and replace the old one in the libraries folder
