Topic: 请问有没有好的反编译工具,从JAR包中得到.java文件

  Print this page

1.请问有没有好的反编译工具,从JAR包中得到.java文件 Copy to clipboard
Posted by: crybigbaby
Posted on: 2003-11-03 12:17


2.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: zerol
Posted on: 2003-11-03 14:45

check out:
http://homepages.cwi.nl/~arie/rewiki/JavaDecompilers.html

among them, JAD is the fastest, sourceagain is the most professional.
I think.

3.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: ringayumi
Posted on: 2003-11-03 17:00

You can try the DJcompiler!

Please use the Google to search.....!

4.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: yb79528
Posted on: 2003-11-04 09:07

其实从JAR中解压出class文件再反编译是一样的,推荐Java源代码反编译专家,支持对目录操作

5.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: Tobar
Posted on: 2003-11-04 19:19

对其中一个class文件进行反编译并修改后能否再次编译呢?

6.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: yb79528
Posted on: 2003-11-05 14:23

to tobar,当然了

7.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: Tobar
Posted on: 2003-11-07 06:19

但是我编译时报错...
比如这个
[code]
import java.io.PrintStream;
import javax.microedition.lcdui.*;

public class About extends QQForm
{

protected Command cmdBack = null;

public About(ui_thread ui_thread1)
{
super("\u5173\u4E8E", ui_thread1);
cmdBack = new Command("\u8FD4\u56DE", 2, 2);
append("\u817E\u8BAFQQ \nKjava 2.92 build 1013\n");
append("\u6DF1\u5733\u5E02\u817E\u8BAF\u8BA1\u7B97\u673A\u7CFB\u7EDF\u6709\u9650\u516C\u53F8\nCopyRight 2002\n");
addCommand(cmdBack);
setCommandListener(this);
}

protected void OnTimeOut()
{
}

public void commandAction(Command command, Displayable displayable)
{
try
{
qq_parent.goBack();
}
catch(Exception exception)
{
System.out.println(exception.getClass().getName() + ": " + exception.getMessage());
exception.printStackTrace();
}
}
}
[/code]
从QQForm继承,编译时报错
"About.java": package javax.microedition.lcdui does not exist at line 8, column 1
"About.java": cannot resolve symbol: class QQForm in class About at line 10, column 28
"About.java": cannot resolve symbol: class Command in class About at line 13, column 15
"About.java": cannot resolve symbol: class ui_thread in class About at line 15, column 18
"About.java": cannot resolve symbol: class Command in class About at line 29, column 31
"About.java": cannot resolve symbol: class Displayable in class About at line 29, column 48
"About.java": cannot resolve symbol: class Command in class About at line 18, column 23
"About.java": cannot resolve symbol: method append (java.lang.String)in class About at line 19, column 9
"About.java": cannot resolve symbol: method append (java.lang.String)in class About at line 20, column 9
"About.java": cannot resolve symbol: method setCommandListener (About)in class About at line 22, column 9
"About.java": cannot resolve symbol: variable qq_parent in class About at line 33, column 13

8.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: yb79528
Posted on: 2003-11-07 09:48

呵呵,报了一大堆错,主要是类文件找不到,在合适的目录下编译即可

9.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: yb79528] Copy to clipboard
Posted by: Tobar
Posted on: 2003-11-07 12:25

yb79528 wrote:
呵呵,报了一大堆错,主要是类文件找不到,在合适的目录下编译即可

败了...其他的都是Class文件呢.....看来还是要经过完整的反编译?

10.Re:请问有没有好的反编译工具,从JAR包中得到.java文件 [Re: crybigbaby] Copy to clipboard
Posted by: jackern
Posted on: 2003-11-16 17:30

推荐使用jad,好用。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923