Search code examples
javadecompiling

class file to java file conversion


How to get java file i.e source code from class file i.e from compiled file?


Solution

  • You can make use of javap for getting the source back from bytecode.

    There are plenty of tools and plugin that help you to disassemble and you can find some discussed here.