eclipse查看.class文件

要使用jd-gui.exe反编译程序

步骤:window-preferences-general-editors-file associations, 如下图

上面的框选中,*.class without source。

下方的框是选择默认的查看器的,占击下方的add按钮,出现如下图

选中External Programs,之后下面的Browse...按钮可以选了,点击它,选中jd-gui.exe所在的路径。

之后,设置jd-gui.exe为default就可以了。

原文地址:https://www.cnblogs.com/zempty/p/4218651.html