# Understanding what Libraries can be added - advice/info resource recommendations

**URL:** <https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888>\
**Category:** Libraries\
**Created:** [October 25, 2020, 10:56am UTC](https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888 "2020-10-25T10:56:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MuddyGardener](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/muddygardener/32/1719_2.png) [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Post date:** [October 25, 2020, 10:56am UTC](https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888/1 "2020-10-25T10:56:36Z")

</div>

Hi all,

I’m confused about whether it is possible/advisable to import normal Java libraries into Processing. (I’m not a Java person really (at the moment) so can’t draw on any common sense knowledge about whether this should work/not work.)

I’m considering importing TensorFlow so I can ask it to do a few things it already does. (I know the TensorFlow Java implementation is not mature/stable. Which is a whole other thing. But let’s say it worked.)

- Is the answer to my question obvious?
- If so, what is it?
- What should I read so that it’s more obvious to me (which it currently isn’t)?

thanks!

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [October 25, 2020, 12:26pm UTC](https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888/2 "2020-10-25T12:26:17Z")

</div>

Yes

Yes

processing is java; the code gets expanded to the real hava code. So should work.

---

<div class="post-metadata">

**Author:** ![MuddyGardener](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/muddygardener/32/1719_2.png) [@MuddyGardener](https://discourse.processing.org/u/MuddyGardener)\
**Post date:** [October 25, 2020, 1:35pm UTC](https://discourse.processing.org/t/understanding-what-libraries-can-be-added-advice-info-resource-recommendations/24888/3 "2020-10-25T13:35:52Z")

</div>

Thanks! I’ve seen references to people having to modify/adapt imported code written in Java - which was confusing if it was just obviously of course going to work then what was the problem - but wasn’t sure what that was all about.

Also I’ve seen some warnings that it doesn’t actually work as well as you’d hope, for example:

> [@Why doesn’t Processing support LAB?](https://discourse.processing.org/t/why-doesn-t-processing-support-lab/4848/8):
>
> In that same vein, I’m surprised there’s no Processing library to add LAB support. From my experience with Processing, plugging in a chunk of Java code to add functionality is seldom straightforward, always a bloody pain to get to work in a sensible way, and if you’re not a Java programmer, then forget it.
