REA JAR/WAR notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

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

  1. Confirm you are authorized to examine the archive.
  2. Inventory members with MCP open_binary + inspect_artifact on the local absolute path (skill archive route).
  3. Extract interesting .class / nested JARs to a directory you control.
  4. Decompile with an external Java tool (jadx GUI, Bytecode Viewer, …) — BinBench covers those peers separately.
  5. Keep SHA-256 of the original archive beside any decompiler version you used.

Mental model

  1. Inventory ≠ decompile. Digests and paths come from REA; Java pseudocode comes from your chosen decompiler.
  2. Android APK lane stays Android. Do not expect inspect_android_package to treat a Spring Boot fat JAR as an APK.
  3. Nested archives need a second inventory after extraction.
  4. Partial coverage applies when members are encrypted or unreadable.

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).

Sources