Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
/ jvminspector Public archive
forked from frontfact/jvminspector

Decompile byte code loaded in JVM at runtime

Notifications You must be signed in to change notification settings

ViRb3/jvminspector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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