I have a .jar file and When I extract it, It gives me all the .class files present in that jar file.
I have decompiled all the .class files using http://jd.benow.ca/ tool but i want that all the .class files should save into .java files.
Right now i can see only the code but extension is not converting to .java.
Anybody Please help me in this.
you can use javadecompilers and its works perfectly

and in the next step you decompile with Upload and Decompileand this page be showing 

and thats is just copy the package folder from the jarname.zip and paste it in you project.
i tested its work for me .

you can see this answer for more.
jd-cmd
https://github.com/kwart/jd-cmd
works fine for decompiling. I used it to convert whole jars into source code. Look up the command line options for more details, e.g. --outputDir for specifying a directory for the generated source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With