# Drag and drop a jar file onto a sketch - cannot get it working

**URL:** <https://discourse.processing.org/t/drag-and-drop-a-jar-file-onto-a-sketch-cannot-get-it-working/41253>\
**Category:** Development\
**Created:** [March 12, 2023, 8:41pm UTC](https://discourse.processing.org/t/drag-and-drop-a-jar-file-onto-a-sketch-cannot-get-it-working/41253 "2023-03-12T20:41:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [March 13, 2023, 6:39am UTC](https://discourse.processing.org/t/drag-and-drop-a-jar-file-onto-a-sketch-cannot-get-it-working/41253/3 "2023-03-13T06:39:31Z")

</div>

Hi @Svedblen,

This can’t work because you missed out to have the correct structure in you jar … read here…

> [@How to create a library from projects](https://discourse.processing.org/t/how-to-create-a-library-from-projects/41151/4):
>
> Hi @urlxd, imo this is not really a processing question, but rather a java one… Also don’t know what OS you are working on so assuming Windows by using processing java mode. Further not knowing if you want to create a contributed library or only some function you want provide for yourself. if first one, look here: if the latter you can build a simple library depending on your java knowledge yourself. Just a demonstration not a recommendation slight_smile create a directory structured …

Cheers  
— mnse

---

_[View the full topic](https://discourse.processing.org/t/drag-and-drop-a-jar-file-onto-a-sketch-cannot-get-it-working/41253)._
