docs: add Java 25+ build troubleshooting for Gradle cache issue#393
Merged
Conversation
Add documentation for users experiencing "Unsupported class file major version 69" error when building with Java 25. The issue occurs when an old Gradle 8.x cache conflicts with the project's Gradle 9.0 wrapper. Changes: - QUICKSTART.md: Add collapsible troubleshooting section with fix - installation.md: Add comprehensive Troubleshooting section including: - Java version compatibility table (Java 22-25+) - Step-by-step fix for clearing old Gradle cache - Additional common issues (JAVA_HOME, slow builds) - Update prerequisites to clarify Java 22-25+ support Fixes #392 Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Add check-java-gradle target that automatically detects when Java 25+ is used with an incompatible Gradle version (< 9.0) and fixes it by: 1. Clearing old Gradle 8.x caches from ~/.gradle/wrapper/dists/ 2. Updating the wrapper to Gradle 9.0 The check runs before build, dev, and ci targets, ensuring users with Java 25+ can build without manual intervention. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.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
Fixes #392
This PR adds documentation for users experiencing the "Unsupported class file major version 69" error when building with Java 25+.
Root cause: Users may have an old Gradle 8.x version cached from a previous clone or project, but Gradle 8.x doesn't support Java 25 (class file version 69). The project's Gradle 9.0 wrapper supports Java 22-25+.
Changes:
Test plan
makeGenerated with Devin