Is it possible to recover .java files from jar?
1 answer
Yes it is possible. There are two ways:
1. Automatic
- Download JD-GUI Java Decompiler (cross-platform application)
- Install
- We use
BUT: it works crookedly, so in practice it will be necessary to make corrections after it anyway.
2. Manually
- Unzip the
*.jarfile - Decompile
*.classfiles (inIDEAfor example)
BUT: if there are many classes, the process will take a lot of time.
Summarizing all the above, we recall the children's song:
Stuffing cannot be turned back and the eggs cannot be put back into the eggplant ..
//На мотив песни Аллы Пугачевой - Жизнь невозможно повернуть назад |