在IDEA中,进入“File | Settings | Plugins”,搜索Decompiler插件,然后检查是否有新版本可用,并点击“Update”按钮进行更新。 禁用其他插件:有时,其他插件可能与Decompiler插件冲突,导致java.lang.UnsupportedClassVersionError错误。您可以尝试禁用其他插件,然后重新启动IDEA,看看问题是否解决。如果禁用其他插件后问题得到解决...
一、安装 Java Decompiler 插件 首先,我们需要在 IntelliJ IDEA 中安装 Java Decompiler 插件。以下是安装步骤: 打开IntelliJ IDEA。 点击菜单栏中的File,选择Settings. 在弹出窗口的左侧,找到Plugins,点击进入。 在插件市场中搜索Java Decompiler。 找到插件后,点击Install按钮。 安装完成后,重启 IntelliJ IDEA。 二、...
支持Java 5的新功能,如注释,泛型或枚举等 2.缺省类反编译器(Decompiler Settings): 2-1.重用缓存代码:只会反编译一次,以后每次打开该类文件,都显示的是缓存的反编译代码。 2-2.忽略已存在的源代码:若未选中,则查看Class文件是否已绑定了Java源代码,如果已绑定,则显示Java源代码,如果未绑定,则反编译Class文件。
反编译的关键是 java-decompiler.jar,位于 IDEA 安装目录下的 /plugins/java-decompiler/lib/ 下。 使用该文件可以反编译 .class 文件、.jar 文件或包含目录。它内部实际使用了 Fernflower 来反编译: java-decompiler | github.com/JetBrains 基本用法(假设已经将 java-decompiler.jar 复制到了当前工作目录): java ...
1 首先确认下您当前的idea是否已经默认安装了Bytecode Viewer插件,如果没有的话,可以手动进行安装 2 可能大部分人习惯在.class文件上通过idea来查看字节码,但发现打开class文件之后,看到的不是字节码而是java代码,这是因为默认idea安装了Decompiler插件,而且字节码查看默认是关联.java文件的 3 打开任意一个.java的...
// (powered by Fernflower decompiler) // package com.trace; public class TestClass { public TestClass() { } public static void main(String[] args) { } public static class Animal { private String name; private int age; private boolean funny; ...
ILSpy is the open-source .NET assembly browser and decompiler. 啊D小工具-SQL注入工具 开源中国-工具大全 .NET技术论坛 nopcommerce中文网 技术教程 微信公众平台开发入门 阅读排行榜 1. 【教程】教你解决“Windows 资源保护找到了损坏文件但无法修复其中某些文件”的问题【转载】(44968) 2. 一个命令查看...
1)打开File——》Settings...——》Plugins 窗口 2)选择Install plugin from disk... 5、如何卸载Java Decompiler插件 File——》Settings...——》Plugins ——》右键Java Decompiler IntelliJ Plugin——》选择Uninstall——》【OK】——》重启Intellij Idea 如下图...
/// Source code recreated from a .class file by IntelliJ IDEA// (powered by Fernflower decompiler)//package com.trace;publicclassTestClass{publicTestClass() { }publicstaticvoidmain(String[] args) { }publicstaticclassAnimal{privateStringname;privateint age;privatebooleanfunny;publicAnimal() { }...
3.1 在线Java反编译工具 有很多在线反编译的网站,其中比较好用的主要是以下两个: http://www.decompiler.com/ 使用简单,直接将 jar 包和 class文件拖到页面即可。 http://www.javadecompilers.com/ 功能很强大,支持多种反编译方式,但是浏览效果不如上面网站好。 3.2 离线 Java 反编译工具 3.2.1 反编译软件 ...