Decompile java application filled with launch4j

I have a Java application that has been converted to an .exe using start4j. For several reasons, I need to access my application's class files.

The first thing I tried was to unpack the exe using 7zip. This way I end up with multiple class files, but definitely not the whole application packaged in exe (class files seem to belong to launch4j).

What other options are there?

+3


source to share


2 answers


You can use something like this to extract the JAR from the Launch4j executable:

http://www.nirsoft.net/utils/resources_extract.html



Usually executable packages should have JARs as executable resources and then look for JDKs on their way to execution.

Once you get the JAR file, you can decompile it.

0


source


You cannot access the class files. Exes are created so that nobody can access your code. If somehow you can access the jar files, you can decompile them to get the code and make changes.



-3


source







All Articles