javap-vim
javap-vim copied to clipboard
A vim plugin to view bytecode of JVM class files
javap-vim
Overview
This small plugin calls the javap
tool on .class
files opened in Vim, which allows you to read the decompiled bytecode of a JVM class file
instead of a useless binary representation of it. It works for files on the disk as well as inside zip/jar archives.
Prerequisites
You should have Java of any version installed, and javap
must be accessible via your PATH
.
Installation
Pathogen
$ git clone https://github.com/udalov/javap-vim ~/.vim/bundle/
Vundle
Add Plugin 'udalov/javap-vim'
to your ~/.vimrc
and run PluginInstall
.
Manual
-
mkdir -p ~/.vim/plugin
-
cp plugin/javap.vim ~/.vim/plugin/javap.vim
- Restart Vim