/jvminspector

Decompile byte code loaded in JVM at runtime

Primary LanguageJava

JVM Inspector

Attach to a running JVM and browse loaded classes

ui

Features

This fork of frontfact's jvminspector makes the project easier to use by providing some key new features:

  • Maven build system
  • Dynamic JDK dependency resolution
  • Continuous Integration
  • Pre-built releases

Notes

  • The JDK dependencies have been removed in Java 9+, therefore this tool will not work on those versions
  • The JVM version that runs this tool must exactly match the target, otherwise problems will occur
  • The dynamic JDK dependency resolution is only tested on Windows, it will likely not work on Mac. However, it is easily fixable by updating the library paths in Main.java

Building

Make sure you have Maven installed and added to your PATH. Then, simply execute:

mvn package

Dependencies

  • JDK libraries (sa-jdi.jar, tools.jar) to dump bytecode
  • Fernflower to decompile bytecode into java code
  • RSyntaxTextArea to display java source code