有相关经验的请加我QQ404331164,我已经试过很多了,都不成功,应该是我的使用方法不当。
现在小弟向大家请教,问题解决后高分相送,谢谢大家

解决方案 »

  1.   

    eclipse(我用的JBuilder2007,其实就是eclipse)里面的混淆器很好用啊。
      

  2.   

    开源不好吗?SF都不知,
    估计LZ的源不值得去反编译
      

  3.   

    我是用Eclipse的,不想再装个JBuilder2007了啊,呵呵
      

  4.   

    ProGuard http://proguard.sourceforge.net/
    yGuard http://www.yworks.com/en/products_yguard_about.htmlProGuard 提供了GUI
      

  5.   


    我用过这个,不过在GUI混淆时有很多警告
    ProGuard, version 4.5 beta2
    Reading program jar [E:\proguard4.5beta2\test2.jar]
    Reading library jar [D:\Program Files\Java\jdk1.6.0\jre\lib\rt.jar]
    Warning: com.test.ButtonExample: can't find referenced class org.eclipse.swt.widgets.Button
    Warning: com.test.ButtonExample: can't find referenced class org.eclipse.swt.widgets.Button
    Warning: com.test.ButtonExample: can't find referenced class org.eclipse.swt.widgets.Button
    Warning: com.test.ButtonExample: can't find referenced class org.eclipse.swt.widgets.Button
    Warning: there were 27 unresolved references to classes or interfaces.
             You may need to specify additional library jars (using '-libraryjars'),
             or perhaps the '-dontskipnonpubliclibraryclasses' option.
    Please correct the above warnings first.
    你知道GUI应该怎样设置吗?加我QQ404331164教一下我好吗
      

  6.   

    警告的意思是说你使用的swt.jar 。
    在Input/Output下面的Library jars,wars...
    添加 swt.jar把使用的第三方库的jar文件添加的这里P.S. 不用QQ好久了
      

  7.   

    谢谢10楼和11楼,能不能详细说说GUI界面的每一步应该怎样选?全是英文的不大会操作
      

  8.   

    我没有用过混淆器。找了一个
    http://www.blogjava.net/DreamAngel/archive/2009/11/23/303380.html
      

  9.   

    谢谢楼上,我的lib目录下已经有org.apache.tools.zip_1.0.0.jar这个包,但现在混淆时报错如下,应该怎样解决啊??Warning: com.wintaobao.utils.HttpUtils: can't find referenced method 'void setEntity(org.apache.http.HttpEntity)' in class org.apache.http.client.methods.HttpPost
    Warning: com.wintaobao.utils.HttpUtils: can't find referenced method 'void abort()' in class org.apache.http.client.methods.HttpGet
    Warning: com.wintaobao.utils.HttpUtils: can't find referenced method 'void abort()' in class org.apache.http.client.methods.HttpPost
    Warning: com.wintaobao.auth.dll.Authentication: can't find referenced method 'void abort()' in class org.apache.http.client.methods.HttpPost
    Warning: com.wintaobao.auth.dll.Authentication: can't find referenced method 'void setEntity(org.apache.http.HttpEntity)' in class org.apache.http.client.methods.HttpPost
    Warning: there were 5 unresolved references to program class members.
             Your input classes appear to be inconsistent.
             You may need to recompile them and try again.
             Alternatively, you may have to specify the options 
             '-dontskipnonpubliclibraryclasses' and/or
             '-dontskipnonpubliclibraryclassmembers'.
    Please correct the above warnings first.
      

  10.   

    意思是不是没有找到org.apache.http.client.methods.HttpGet
    程序被终止了啊?我该导入什么包啊 
      

  11.   

    又出现了新的错误如下:Note: there were 735 duplicate class definitions.
    Warning: there were 186 classes in incorrectly named files.
             You should make sure all file names correspond to their class names.
             The directory hierarchies must correspond to the package hierarchies.
             If you don't mind the mentioned classes not being written out,
             you could try your luck using the '-ignorewarnings' option.
    Please correct the above warnings first.
      

  12.   

    apache httpclient
    http://hc.apache.org/httpcomponents-client/index.html
      

  13.   

    http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass
      

  14.   

    有用过java_protect这个加密工具的朋友吗?我加密Jar包后,classloader.dll这个文件加载不了,程序运行不了,有相关经验的请说说
      

  15.   

    有不用加密狗的,用授权文件加密即可,http://euse.cn/solution/
      

  16.   

    You should make sure all file names correspond to their class names. The directory hierarchies must correspond to the package hierarchies. If you don't mind the mentioned classes not being written out, you could try your luck using the '-ignorewarnings' option.
    这个问题我也遇到了,各位知道该怎么办吗