/javap-vim

A vim plugin to view bytecode of JVM class files

Primary LanguageVim Script

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

  1. mkdir -p ~/.vim/plugin
  2. cp plugin/javap.vim ~/.vim/plugin/javap.vim
  3. Restart Vim
Enjoy!