Processing 4 Core Maven Artifact

Thank you for creating this package @micycle :slight_smile:

I tried to use your latest release (4.1.1) on an Intel Mac. It works in Java2D mode but crashes with P2D using an empty sketch that just calls size().

Do you know why this could be?

Update: maybe it’s the JDK, as mentioned in How to make 3D with Processing core library - #6 by matthewortega

Update: I made it work by doing two things:

  1. Added this to the build.gradle.kts file
java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(17))
        vendor.set(JvmVendorSpec.ADOPTIUM)
    }
}
  1. On the command line I install this Java JDK
brew install --cask temurin
1 Like