# Processing 4 Core Maven Artifact

**URL:** https://discourse.processing.org/t/processing-4-core-maven-artifact/27334
**Category:** Gallery
**Created:** [January 24, 2021, 2:13pm UTC](https://discourse.processing.org/t/processing-4-core-maven-artifact/27334 "2021-01-24T14:13:46Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![hamoid](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hamoid/32/58_2.png) [@hamoid](https://discourse.processing.org/u/hamoid)
#### Post date: [December 14, 2022, 3:24pm UTC](https://discourse.processing.org/t/processing-4-core-maven-artifact/27334/11 "2022-12-14T15:24:35Z")

</div>

Thank you for creating this package @micycle 🙂

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](https://discourse.processing.org/t/how-to-make-3d-with-processing-core-library/19710/6)

**Update** : I made it work by doing two things:

1. Added this to the `build.gradle.kts` file

```plaintext
java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(17))
        vendor.set(JvmVendorSpec.ADOPTIUM)
    }
}

```

1. On the command line I install this Java JDK

```auto
brew install --cask temurin

```

---

_[View the full topic](https://discourse.processing.org/t/processing-4-core-maven-artifact/27334)._
