Processing in style with Java 11

Well, I’ve already made the point here, on GitHub, to @sampottinger etc. that I think Processing 4 should embrace the module path, particularly given changes to JavaFX as well, such that JPMS / JLink can become (longer term) the way to distribute stand-alone Processing sketches without requiring a mass of unused libraries.

I’m already using the module path, and have split Processing Core into multiple explicit modules. These will be on Maven Central very soon - working on that now. I have abstracted the OpenGL package to allow for JOGL and LWJGL backend to be swapped in or out. From what I can see in that bug report, I’m not sure using JOGL on the module path will be a problem, but I haven’t tried it yet - LWJGL backend working great, including with third-party libraries as long as they’re not accessing JOGL specifics.

3 Likes