Skip to content

How to build native image with swing? #42473

Closed Answered by Karm
lcy-1024 asked this question in Q&A
Discussion options

You must be logged in to vote

@lcy-1024
Decompilation:
Native-image is easily decompiled, for convenience you can use Ghirda or paid IDA Pro (no experience with that one); Frida scripts also work. We do not attempt any assembly obfuscation or anti-analysis or anti-sandbox tricks. If you hide a proprietary knowledge in the executable it is going to be discovered. The fact that you don't get Java bytecode back does not help to hide much.
Please, do not assume a native-image compilation of a Java program protects your secrets in any way.

Faster:
Yes, the app would have a faster satrtup-time, a rich GUI app would be very specific in how much you have to init at runtime anyway, so the benefit depends... You'd have to measu…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lcy-1024
Comment options

@Karm
Comment options

Karm Aug 12, 2024
Collaborator

Answer selected by lcy-1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment