Skip to content

Update to Processing 4.5.5 and resolve JOGL native-lib/repository errors - #16

Merged
micycle1 merged 2 commits into
mainfrom
fix/jogl-maven-central-natives
Jul 17, 2026
Merged

Update to Processing 4.5.5 and resolve JOGL native-lib/repository errors#16
micycle1 merged 2 commits into
mainfrom
fix/jogl-maven-central-natives

Conversation

@micycle1

@micycle1 micycle1 commented Jul 17, 2026

Copy link
Copy Markdown
Owner

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.0 artifacts 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 platform natives-* jars, producing UnsatisfiedLinkError: 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-main 2.5.02.6.0 and removes the now-unnecessary JogAmp <repositories> block. The -main artifacts transitively pull every platform native jar, so a consumer with only mavenCentral() (+ 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 processing4 submodule to tag processing-1433-4.5.5 (31b7b2c) and bump the artifact version to 4.5.5. README version references updated; Gradle usage section added.

Fixes #12
Fixes #13

Verification

  • ./mvnw clean compile succeeds against the 4.5.5 source and JOGL 2.6.0.
  • ./mvnw dependency:list confirms all natives-* jars for both jogl-all and gluegen-rt resolve from Maven Central.

🤖 Generated with Claude Code

micycle1 and others added 2 commits July 17, 2026 18:20
…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>
@micycle1 micycle1 changed the title Resolve JOGL native-lib & repository errors via JOGL 2.6.0 on Maven Central Update to Processing 4.5.5 and resolve JOGL native-lib/repository errors Jul 17, 2026
@micycle1
micycle1 merged commit 5c6b728 into main Jul 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot resolve native libs: Unsatisfied Link Error Missing Required JogAmp Repo

1 participant