Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graalvm windows native-image without console

I have created native image from a simple application using graalvm on Windows 10. It's working very well, but the application is opening a console.

Is it possible to create a non-console application with graalvm ?

like image 522
Julien Avatar asked Oct 28 '25 15:10

Julien


1 Answers

For the time being (09-17-2019), there is no option available in graalvm to create a non-console application. The workarround is to edit the binary with Editbin.exe available in the Windows SDK :

> editbin /SUBSYSTEM:WINDOWS my.exe
like image 157
Julien Avatar answered Oct 31 '25 16:10

Julien



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!