# Enable all java built-in libraries?

**URL:** https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358
**Category:** Development
**Created:** [August 15, 2022, 7:06am UTC](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358 "2022-08-15T07:06:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![NumericPrime](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/numericprime/32/16318_2.png) [@NumericPrime](https://discourse.processing.org/u/NumericPrime)
#### Post date: [August 15, 2022, 7:06am UTC](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358/1 "2022-08-15T07:06:34Z")

</div>

I’m currently trying to use a bit of the com.sun libraries. However processing seems to be lacking these libraries.  
Is there a way to make these libraries work with Processing?  
In the source code of the app I saw them used so the jars should be somewhere.

---

<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: [August 15, 2022, 7:40am UTC](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358/2 "2022-08-15T07:40:30Z")

</div>

Hi @NumericPrime,

Do you have a more concrete example. com.sun are have a huge specturm and not all available …  
So, which one you want to use ?

Cheers  
— mnse

---

<div class="post-metadata">

### Author: ![NumericPrime](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/numericprime/32/16318_2.png) [@NumericPrime](https://discourse.processing.org/u/NumericPrime)
#### Post date: [August 15, 2022, 8:19am UTC](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358/3 "2022-08-15T08:19:14Z")

</div>

My priority is bringing com.sun.jdi to run and if it’s possible it would be good to have access to com.sun.tools

---

<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: [August 15, 2022, 12:16pm UTC](https://discourse.processing.org/t/enable-all-java-built-in-libraries/38358/4 "2022-08-15T12:16:11Z")

</div>

Hi,

for the first you can drag&drop /modes/java/mode/jdi.jar onto the PDE  
then in code … import com.sun.jdi.\*;  
For the tools.jar you need download the corresponding oracle/sun jdk1.8 install it and drop the jar also onto the PDE. It could be that there have also dependencies which should also added if needed.

Cheers  
— mnse
