JAR, WAR and AAR File Inspector
Open a Java archive to see its manifest, Maven coordinates, the Java version each class was compiled for, packages and nested libraries. Search the classes and read an outline of any class with its fields, constructors and method signatures, look at web.xml or the Android manifest, and save single files or a ZIP.
Tarayıcınızda çalışır. Dosyalarınız cihazınızdan asla çıkmaz. Nasıl kontrol edeceğinizi görün
…
Nasıl yapılır
- 1Open the archive
Drop a .jar, .war, .ear or .aar file on the page.
- 2Read the overview
Check the manifest, Java versions, Maven coordinates, services and signing.
- 3Open nested jars
Press Open next to any nested library and use the breadcrumb to return.
- 4Inspect classes
Search the Classes tab, pick a class and read its outline; toggle private and synthetic members.
- 5Check web or Android parts
Use the web.xml or Android tab for servlets, mappings, permissions and SDK levels.
- 6Export
Save outlines, the class list CSV, single files or a ZIP of selected files.
Bu araç hakkında
Java libraries and applications travel as ZIP files with a different extension: .jar for libraries and runnable programs, .war for web applications deployed to Tomcat or Jetty, .ear for enterprise bundles and .aar for Android libraries. When a build fails with UnsupportedClassVersionError, when a server refuses to start or when you need to know which version of a library is really inside a fat jar, you have to look inside. This inspector reads the archive in the browser. The overview shows the manifest attributes such as Main-Class, Start-Class for Spring Boot, Automatic-Module-Name and Created-By, the Java version of every class counted from the class file header, the number of packages, Maven groupId, artifactId and version from pom.properties, service providers under META-INF/services and whether the jar is signed. Nested jars in WEB-INF/lib, BOOT-INF/lib or the classes.jar of an AAR open with one tap, with a breadcrumb to go back. The Classes tab lists every class; choose one to read a Java-like outline with its package, modifiers, superclass, interfaces, fields with constant values, constructors, methods with parameter types and declared exceptions. Outlines can be saved one by one or for the whole archive as a ZIP, and a CSV lists every class with its kind and Java version.
Finding the Java version
Every class file starts with a major version number: 52 means Java 8, 55 Java 11, 61 Java 17, 65 Java 21. The overview counts classes per version so you can see at a glance whether a library needs a newer runtime than you have. Multi-release jars keep extra classes under META-INF/versions; these are counted too.
Web and Android archives
For a WAR, the web.xml tab lists servlets with their URL mappings, filters, listeners and welcome files, and counts the libraries in WEB-INF/lib. For an AAR, it shows the package name, minSdk and targetSdk, permissions and components declared in AndroidManifest.xml, plus R.txt and ProGuard rules if present.
What an outline is
The outline is built from the class file structure: the constant pool, access flags, field and method descriptors and attributes such as SourceFile, Exceptions, ConstantValue, Record and PermittedSubclasses. It shows declarations exactly as compiled, with java.lang types shortened.
Limits
Method bodies are not decompiled: the bytecode is not turned back into Java statements, and generic type parameters are shown only as the raw signature string. Signatures in signed jars are listed but not verified. Obfuscated code shows its obfuscated names. Android APK files can be opened as ZIP archives, but their DEX code is not read; the site has a separate APK manifest viewer. Testing note: the class reader was tested with class files built to the published format, not yet with output from every Java compiler version, so some classes may not open.
Çözümlü örnek
A developer gets UnsupportedClassVersionError when running report-service-2.3.0.jar (41 MB) on Java 11. The inspector shows a Spring Boot JAR with Start-Class com.acme.report.ReportApplication and 1,184 classes of its own, all Java 17 (class file 61). BOOT-INF/lib holds 96 nested jars; opening jackson-databind-2.17.1.jar shows Maven coordinates com.fasterxml.jackson.core:jackson-databind 2.17.1 and classes compiled for Java 8. The outline of ReportApplication shows public static void main(String[]) and a constructor. The team either upgrades the runtime to Java 17 or rebuilds with release 11.
Kısaca
- Kategori: Geliştirici ve veri
- Tarayıcınızda çalışır, kayıt yok, yükleme yok.
- Girdiğiniz bilgiler cihazınızda kalır.
- İngilizce olarak mevcut.
- İçeriğin son gözden geçirilmesi:
- Resmî kaynak: The Java Virtual Machine Specification, Java SE 21, chapter 4 (class file format); JAR File Specification
Sık sorulan sorular
Can it decompile classes back to Java source?
No. It shows an outline with every declaration (fields, constructors and method signatures), which is enough to see an API or check a version. Turning bytecode into statements needs a full decompiler.
How do I see which Java version a jar needs?
The overview counts classes by their class file version. If any class is Java 17, the jar needs at least a Java 17 runtime to load that class.
Can I open the jars inside a WAR or a Spring Boot jar?
Yes. Nested .jar, .war and .aar files are listed under Nested archives on the overview; press Open to inspect one and use the breadcrumb buttons to go back.
Is anything executed?
No. Class files are parsed as bytes. No Java code runs, and the archive never leaves your browser.
Does it work with Android AAR libraries?
Yes. It reads the text AndroidManifest.xml of the AAR, lists permissions and components, and opens classes.jar so you can browse the compiled classes.
What is in the class list CSV?
One row per class with the fully qualified name, kind (class, interface, enum, record or annotation), Java version, superclass, interfaces, field and method counts and the source file name.
