Installation and use of the jode Eclipse plug-in

Source: Internet
Author: User
Tags java decompiler

1. jode Introduction

The open-source jode is a member of sourceforge.net, the world's largest open-source project website. Among all Java anti-compilers, Jode has the best decompilation effect, especially for some common encryption methods, for example, obfuscation technology is even more radical. Jode is also developed in pure Java. Recently, more and more java decompilation software also chooses jode as their core engine, such as jcavaj Java decompiler and btj (back to Java) and jedit's javainsight plugin. Jode is a runable JAR file, which can be run by double-clicking in windows.

 

2. Install the jode Eclipse plug-in

On eclipse, click ==> help ==> software updates ==> find and install ==> search for new features to install, and click "new remote site... ", enter jode decompliter in name, enter http://www.technoetic.com/eclipse/update in URL bar, and then next, you can see" jode decompiler, select and click Finish to automatically download and install it on the official website. After installation, you can go to the window ==> preferences... ==> Java ==> jode decompiler tab.

After installation, set the file association. Window => preferences... => General => editors => File Associations find "*. class "in" associated editors ", you can see" jode class File Viewer ". Select it and click the default button.

3. Use of jode

In fact, Jode is used because we usually only have Java class bytecode files but no source files. In this case, we only need to decompile them. In eclipse, we usually want to view the source code of a class file, it must be associated with the source file. If we have installed the jode plug-in, we don't have to look for the source file. If we directly decompile the file, we will be OK (although sometimes a bunch of errors will be reported @_@). Note that jode only recognizes the. jar file (the war file is not supported. Therefore, if it is a war file, you should decompress it and package it into a. jar package ).

First, package the class file that you want to decompile into. jar package, and then import it to your Eclipse project. Then you can expand the jar package you just imported and view the corresponding source file of the class file.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.