Govind Govind - 4 months ago 10x
Java Question

How to convert all .class files into .java file from a .jar file

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 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

enter image description here

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

enter image description here

and thats is just copy the package folder from the and paste it in you project.

i tested its work for me .

enter image description here

you can see this answer for more.