jd-gui stops working when I try to save all resources
I opened a jar file in jd-gui but when I try to save the all resources it stops working. I d开发者_JAVA百科on't know where to look for the logs of jd-gui.
How can I save all the decompiled source files?
I met the same problem, and resoled it as below:
- unzip the target jar file. 
- remove unnecessary folder 
- zip the remaining class files into a new-small jar file. 
- download the - jd-cliproject from here: https://github.com/kwart/jd-cli/releases/tag/jd-cli-1.2.0
- use - jd-clito de-compile the jar , and with the log option, e.g.- jd-cli target.jar -od jar_result -g ALL 
- check the output log and find out which - block.classfile block the de-compile proccess. if there is, then remove it from the- target.jarand then re-run the- jd-cliagain. You can manually copy/paste the- block.classsource code from jd-gui.
Open "jd-gui.cfg" with a text editor. "LastUri", in section "Decompilation", contains the name of the CLASS file causing the crash. A workaround is to open the JAR file and remove or change extension of this CLASS file.
Regards.
It seems a bug. I solved it simply trying to export sources to other folder ($home -using debian-)
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论