-
run command go get "native-image-agent-final-config" files,but get "java.awt.HeadlessException" main code: build: auto generate podman command:
build failed,the logs is "quarkus.log":
actually it generate json files and then I go on build: auto generate build cmd is:
failed output:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
/cc @Karm (awt,mandrel), @galderz (awt,mandrel), @zakkak (mandrel,native-image) |
Beta Was this translation helpful? Give feedback.
-
Hello @lcy-1024, there is no plan to support desktop integration with Quarkus Native at the moment, left alone whole Swing toolkit. All our image processing, graphics etc. endeavors revolve around headless usage, i.e. server side rendering, documents processing, documents conversions etc. Could you share what is the use case you would like to solve? What is it you need the app to do for the user? |
Beta Was this translation helpful? Give feedback.
@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…