REA JAR/WAR notes (unofficial)
JAR / WAR / EAR files are ZIP-compatible archives. In REA 6.7.0, start with the archive inventory route — do not invent an inspect_java_archive tool.
Minimal path
- Confirm you are authorized to examine the archive.
- Inventory members with MCP
open_binary+inspect_artifacton the local absolute path (skill archive route). - Extract interesting
.class/ nested JARs to a directory you control. - Decompile with an external Java tool (jadx GUI, Bytecode Viewer, …) — BinBench covers those peers separately.
- Keep SHA-256 of the original archive beside any decompiler version you used.
Mental model
- Inventory ≠ decompile. Digests and paths come from REA; Java pseudocode comes from your chosen decompiler.
- Android APK lane stays Android. Do not expect
inspect_android_packageto treat a Spring Boot fat JAR as an APK. - Nested archives need a second inventory after extraction.
- Partial coverage applies when members are encrypted or unreadable.
Legal note
Decompile only packages you own or are authorized to examine. RepoRead will not help bypass commercial Java license checks.
RepoRead is unofficial. Prefer the reverse-engineer-anything skill archive section.
FAQ
Does REA decompile Java class files?
No first-class Java decompiler provider is advertised like the JADX Android lane. For bytecode reading, use an external tool (jadx, Bytecode Viewer, Vineflower) on archives you are authorized to examine.
Is there inspect_java_archive?
Not in the rea-agents 6.7.0 skill catalog checked 2026-10-24. JAR/WAR/EAR files are ZIP-compatible — inventory them with the archive route (open_binary / inspect_artifact).
How is this different from Android APK analysis?
APKs have inspect_android_package + JADX tooling. Plain JAR/WAR libraries do not automatically get that Android lane just because they contain .class files.
What about .NET assemblies inside a ZIP?
Managed PE/CLI assemblies use inspect_managed_artifact on the assembly path. Nested JARs remain archive members until you extract and analyze each artifact on its own route.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).