JADClipse 不适用于 Eclipse 3.6
Jadclipse
可以在 Eclipse 3.6
上运行吗?
我通过将 jar 复制到 plugins 目录并重述 eclipse,在我的 Eclipse 3.6 上安装了 Jadclipse 3.3.0。
现在我在 Windows->Preferences 下有 jadclipse 菜单,但是当尝试反编译任何类时,它根本不会反编译。我得到通常的日食屏幕,说源不可用。 错误日志中没有错误。
有什么想法吗?
Does Jadclipse
work on Eclipse 3.6
?
I have installed Jadclipse 3.3.0
on my Eclipse 3.6
by copying the jar into the plugins directory and restated eclipse.
Now I have the jadclipse menu under Windows->Preferences but when trying to de-compile any class it simply does not de-compile. I get the usual eclipse screen saying the source is unavailable. There are no errors in the Error Log.
Any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我最终找到了答案 这里。
使用
-clean
开关运行 eclipse 并设置*.class
和jadclipse
插件之间的文件关联解决了该问题。I eventually found the answer here.
Running eclipse with
-clean
switch and setting the file association between*.class
and thejadclipse
plug-in solved the problem.在“首选项”>“Java”>“Jad”中正确设置 JAD 路径。例如:D:\Jad\jad.exe
如果仍然无法正常工作,
请转到“首选项”中的“文件扩展名”。选择 JadClipse 作为 .class 和 .class without out source 的默认编辑器。
Set the JAD path correctly in Preferances>Java>Jad. Ex: D:\Jad\jad.exe
If still not working then,
Go to File extensions in Preferences. Select JadClipse as default editor for .class and .class with out source.
主要原因是您的 Eclipse 为类文件配置了默认类查看器,您必须将其更改为新的类反编译器。
转到首选项>编辑>选择“没有来源的类”并选择您的工具并将其标记为默认。会为你工作:)
The main reason is that you eclipse have default class viewer configured for class file which you have to change to your new class decompiler.
go to preference > editor > choose "class without source" and select your tool and mark as default. will work for you :)
我也有同样的问题。
只需检查 JadEclipse 类文件查看器是否是首选项 -> 中“无源类”的默认查看器。一般->编辑->文件关联。
I had the same problem.
Just check if the JadEclipse Class File Viewer is the default viewer for "Class without source" in Preferences -> General -> Editors -> File Associations.
下载jad.exe,然后在eclipse中有2个地方需要配置。
例如 C:\Users\Documents\xxx\jad.exe。然后应用
对话框中应该有 JadClipse 类文件查看器(默认)。如果没有点击添加...
添加 JadClipse 作为默认文件查看器。
Download jad.exe and then in eclipse there are 2 places to configure.
like C:\Users\Documents\xxx\jad.exe. then Apply
dialog box there should be JadClipse Class File Viewer(default). If not click on Add...
add JadClipse as default file viewer.
我在 Mac 上使用 STS 时遇到了问题,并能够通过以下过程修复它。
下载JADClipse插件jar并将其复制到Eclipse的plugins文件夹。
下载 JAD 反编译器并将其解压缩到 Mac 上的文件夹中。将java反编译器设置为JAD。
Eclipse->首选项->Java->反编译器->选择JAD
Eclipse->Preferences->Java->JADClipse->反编译器路径 (/Users/test/Desktop/JavaDecompiler/jad158g.mac.intel/jad)
选择 .class 和 .class without out source 的文件关联默认 JADClipse 类查看器。
重新启动 Eclipse,它应该可以工作。
参考文献-> http://hemantasapkota.github .io/posts/setting-up-jadclipse-and-jad-java-decompiler-in-eclipse/
https://eedannak.wordpress.com/2014/11/02/how-to-decompile-class-文件-in-java-with-eclipse-ide/
I had the issues on mac with STS and was able to fix it with below process.
Download JADClipse plugin jar and copy it to plugins folder of Eclipse.
Download JAD decompiler and unzip it into a folder on your mac. Set java decompiler to JAD.
Eclipse->Preferences->Java->Decompiler->Select JAD
Eclipse->Preferences->Java->JADClipse->Path to decompiler (/Users/test/Desktop/JavaDecompiler/jad158g.mac.intel/jad)
Select file associations for .class and .class with out source to default JADClipse class viewer.
Restart Eclipse and it should work.
References -> http://hemantasapkota.github.io/posts/setting-up-jadclipse-and-jad-java-decompiler-in-eclipse/
https://eedannak.wordpress.com/2014/11/02/how-to-decompile-class-files-in-java-with-eclipse-ide/