Videotutorial – How to: Decompile .jar and .class files

In this brief tutorial I want to show you how to decompile Java .jar and .class files, and it’s also valid for .apk files from Android platform.

We just need “JAD Java Decompiler” and WinRar/Zip.

First step is to extract .class files inside .jar file with the Rar/Zip extract functionality, then we need to select which .class files we want to decompile and paste it into JAD folder, after that we must use “jad File.class” command in the command line editor.

Finally we will be able to open the generated .jad files with a text editor and it’s done, we will see the .java file.

Note: Class attributes are at the bottom of the generated .jad file

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.