The `System.getProperty("java.home")` points to the JRE bundled with Processing and not the JDK
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
// 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