# Java.sql in Processing 4.4.4

**URL:** <https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611>\
**Category:** Processing\
**Created:** [June 26, 2025, 5:18pm UTC](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611 "2025-06-26T17:18:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PerryJohnson](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@PerryJohnson](https://discourse.processing.org/u/PerryJohnson)\
**Post date:** [June 26, 2025, 5:18pm UTC](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611/1 "2025-06-26T17:18:19Z")

</div>

I’m getting this error now with code that worked in the previous version,  
The package “java.sql” does not exist. You might be missing a library.

java.sql is included in Java SE. Has Processing gutted the standard library?

The simplest way to test is try this import. It works in 4.3.4 but not in 4.4.4

```auto
import java.sql.*;

```

Further examination shows that com.sun.net.httpserver is missing now too. I was able to put both of these jars into my code folder and have my sketch work again, but who knows what other functionality has been gutted?! This is maddening!

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [June 30, 2025, 12:50pm UTC](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611/2 "2025-06-30T12:50:33Z")

</div>

Hi @PerryJohnson,

Thanks for flagging this, and sorry you’re running into it. We’ve been working on improving the build system for Processing, and it’s possible something was accidentally dropped along the way. I can see how that would be frustrating.

Would you be willing to open an issue on [the Processing GitHub repo](https://github.com/processing/processing4/issues/new/choose) so we can investigate and work on a fix?

You’re also very welcome to help us look into it. We’ve been working to make contributing easier. See the [Contributor Guidelines](https://github.com/processing/processing4/blob/main/CONTRIBUTING.md) and [Build Instructions](https://github.com/processing/processing4/blob/main/BUILD.md) on how to get started.

Thanks again for taking the time to report this.

---

<div class="post-metadata">

**Author:** ![PerryJohnson](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@PerryJohnson](https://discourse.processing.org/u/PerryJohnson)\
**Post date:** [June 30, 2025, 5:28pm UTC](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611/3 "2025-06-30T17:28:52Z")

</div>

Thank you for the response and invitation to open an issue. I just submitted that on GitHub. I’d love to help where I can but I have no experience with build systems like Gradle.

I did test back to 4.4.0 on Linux/Mac/Windows and it does seem that’s where the bug begins.

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [July 2, 2025, 11:53am UTC](https://discourse.processing.org/t/java-sql-in-processing-4-4-4/46611/4 "2025-07-02T11:53:21Z")

</div>

Thanks @PerryJohnson! I’ll link to the issue below so we can continue the conversation there.

> <https://github.com/processing/processing4/issues/1163>
>
> \### Most appropriate sub-area of Processing 4?
> 
> Core/Environment/Rendering
> 
> \### …Processing version
> 
> 4.4.0 through 4.4.4
> 
> \### Operating system
> 
> Linux Fedora/KDE, Windows 11, and MacOS X Sonoma (intel)
> 
> \### Bug description
> 
> I’m getting these errors with code that worked in version 4.3.4,
> 
> The package “java.sql” does not exist. You might be missing a library.
> The package “com.sun.net” does not exist. You might be missing a library.
> 
> 
> \### Steps to reproduce this
> 
> "1.Run a sketch that imports these packages.
> 
> "
> 
> 
> \### snippet
> 
> \`\`\`processing
> 
> // Paste your code below :)
> import java.sql.\*;
> import com.sun.net.httpserver.\*;
> 
> void setup() {
> 
> }
> 
> void draw() {
> 
> }
> \`\`\`
> 
> 
> \### Additional context
> 
> I've tested version 4.4.4 and previous versions back to 4.4.0 on Linux/MacOS/Windows and all exhibit this bug.
> I am selecting that I'd like to help but I have no experience in Gradle, etc.
> 
> \### Would you like to work on the issue?
> 
> Yes, I’d like to help with this
