Answer the question
In order to leave comments, you need to log in
How to unpack jar project?
I have a jar file, I need to unpack it and already work with classes directly.
I'm importing into a JAVA project, but when the classes are opened, it says:
There is no source file attached to the class file AddressDAO.class.
Answer the question
In order to leave comments, you need to log in
jd.benow.ca
download the JD-GUI and open the .jar in it.
It will decompile and display the content beautifully. I often use it for assessment (otherwise it is often not clear what kind of codebase was uploaded to the server). Necessary thing.
It has no sources, it can only be included as a library
You can take the IL disassembler of the Java code and try to restore the sources
jar -xvf archive name
However class files are compiled classes, you will need JAD to view them. Rarely in jar packages put source codes.
If you have .jsp files inside, then just an archiver, and you can change what you want to change right inside.
If you have classes there, then they will be compiled, and you will need to sweat with them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question