Skip to content

Replace Python Java detector with Java 8 executable JAR - #220

Merged
brunoborges merged 1 commit into
mainfrom
brunoborges-remove-python-java-detection
Aug 27, 2026
Merged

Replace Python Java detector with Java 8 executable JAR#220
brunoborges merged 1 commit into
mainfrom
brunoborges-remove-python-java-detection

Conversation

@brunoborges

Copy link
Copy Markdown
Member

The modern Java agent plugin should be usable without requiring Python or a full JDK just to determine a project's target Java version.

This replaces the Python detector and tests with a dependency-free Java implementation compiled as an 11.7 KB Java 8 executable JAR. Cross-platform launchers provide actionable errors when Java is unavailable, while retaining the source for auditability. The release workflow compiles the source with a pinned JDK 8 toolchain, verifies its class files match the shipped JAR, runs the Java validation suite against that artifact, and confirms Java 8 bytecode compatibility.

The detector output remains compatible with the previous JSON contract and has been exercised on Java 8, 21, and 25. Plugin guidance, documentation, reference coverage, and the website example are updated for the new launch path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 63b24e01-23ba-45ce-8d37-5c89615389c1
@brunoborges
brunoborges merged commit c9e99a8 into main Aug 27, 2026
1 check 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.

1 participant