[Native Image]Java Swing Application #3599
Answered
by
chirontt
ryan1-chang
asked this question in
Q&A
-
I could get native-image to build an exe from the HelloWorld Swing app. |
Beta Was this translation helpful? Give feedback.
Answered by
chirontt
Aug 9, 2021
Replies: 1 comment 1 reply
-
By default, the MainApp.exe is created as a console application in Windows; this is why you see the command window popping up in the background when launching MainApp.exe. To eliminate it, you should convert your MainApp.exe to a GUI application, using the editbin utility from MS VS installation:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ryan1-chang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, the MainApp.exe is created as a console application in Windows; this is why you see the command window popping up in the background when launching MainApp.exe. To eliminate it, you should convert your MainApp.exe to a GUI application, using the editbin utility from MS VS installation:
editbin /subsystem:windows MainApp.exe