Update to Processing 4.5.5 and resolve JOGL native-lib/repository errors - #16
Merged
Conversation
…m Maven Central JOGL/GlueGen 2.6.0 is now published on Maven Central, so bump the jogl-all-main and gluegen-rt-main dependencies from 2.5.0 to 2.6.0 and drop the custom JogAmp <repositories> declaration. Fixes #12: Gradle ignores <repositories> declared in a dependency POM, so consumers could not resolve gluegen-rt-main / jogl-all-main from the JogAmp repo. Everything now resolves from Maven Central. Fixes #13: the "-main" artifacts transitively pull the natives-* jars (natives-windows-amd64, natives-linux-amd64, natives-macosx-universal, ...) which carry the runtime libraries such as nativewindow_awt. With these resolvable from Central they land on the consumer classpath and JOGL extracts them at runtime, avoiding the UnsatisfiedLinkError. Also document Gradle usage in the README. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Advance the processing4 submodule to tag processing-1433-4.5.5 (31b7b2c) and bump the artifact version to 4.5.5. Update README version references and trim the Gradle usage section. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two related changes:
1. JOGL 2.6.0 from Maven Central (fixes #12, #13)
Both #12 and #13 stem from the same root cause: the JOGL/GlueGen
2.5.0artifacts only existed in the JogAmp Maven repository, declared via<repositories>in this project's POM. Gradle ignores<repositories>inherited from a dependency POM, so downstream Gradle consumers could resolve neither the Java artifacts (#12) nor the platformnatives-*jars, producingUnsatisfiedLinkError: Couldn't load library 'nativewindow_awt'at runtime (#13).JOGL/GlueGen 2.6.0 was published to Maven Central on 2025-09-07. This bumps
jogl-all-main/gluegen-rt-main2.5.0→2.6.0and removes the now-unnecessary JogAmp<repositories>block. The-mainartifacts transitively pull every platform native jar, so a consumer with onlymavenCentral()(+ JitPack) resolves the full graph — Java and natives — and JOGL extracts the bundled libraries at runtime.2. Update mirror to Processing 4.5.5
Advance the
processing4submodule to tagprocessing-1433-4.5.5(31b7b2c) and bump the artifact version to4.5.5. README version references updated; Gradle usage section added.Fixes #12
Fixes #13
Verification
./mvnw clean compilesucceeds against the 4.5.5 source and JOGL 2.6.0../mvnw dependency:listconfirms allnatives-*jars for bothjogl-allandgluegen-rtresolve from Maven Central.🤖 Generated with Claude Code