The exe file is still a jar, the only difference is that is has an executable header. In my opinion you have to analyze the End of central directory record (zip file format) to determine where the original jar file starts and remove the exe header.
Grzegorz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What is the best and proven way to extract the wrapped jar file from the exe file? From a programmatic perspective, i.e. from within a Java program.
The exe file is still a jar, the only difference is that is has an executable header. In my opinion you have to analyze the End of central directory record (zip file format) to determine where the original jar file starts and remove the exe header.
Grzegorz