Can you provide some details, describe what you are doing and when the problem happens?
What version are you using on what system?
What is the launch4j configuration used?
Last edit: Grzegorz Kowal 2018-08-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I understand what you mean out of your other comments. It's not about JNI actually because there you can also wrap. But rather a difference when you wrap the jar and use a launcher without wrapping.
BR,
Grzegorz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When wrapping instead of using JNI, one must recalculate the PE checksum unless one is codesigning.
Last edit: Markus Gothe 2018-08-10
Can you provide some details, describe what you are doing and when the problem happens?
What version are you using on what system?
What is the launch4j configuration used?
Last edit: Grzegorz Kowal 2018-08-11
I think I understand what you mean out of your other comments. It's not about JNI actually because there you can also wrap. But rather a difference when you wrap the jar and use a launcher without wrapping.
BR,
Grzegorz
Yes, 'ld' calculate and update the PE header's checksum. Then after that the jar file is appended to the PE. Now the checksum has to be updated again.
Í was thinking of providing a tool for this based on libbfd. I might start coding it
Last edit: Markus Gothe 2018-08-11