Console window visible in windows target
See original GitHub issueThank you implementing support for windows. The fast startup speed of native build is clearly felt. The build process was fairly simple and quick. The timeline in which this feature has been delivered surpasses expectation. To sum up, it was literally a thankless hard-work which the Gluon team has been doing and sharing the fruits of the hard work to the entire java community for free. And this I mean not just for windows support but also for mobile, android, ios everything put together.
Coming to the subject of this ticket, currently how the app is building seems to be as if it is executed using java.exe. In windows we have this java.exe and javaw.exe If we run in java.exe we see both the command window and the UI, whereas javaw,exe suppress the console window.
This is fine for debugging but how do we stop the console window from showing?
This needs to be fixed, or if there is flag which needs to be set to enable/disable this behavior, that flag needs to be documented, and probably highlighted in bold or something to be easily noticeable in the docs page.
Also I am sure soon other features like setting the icon of the executable will be added in future (if not already there). Even while it is experimental it should be clearly documented otherwise we might not come to know this without asking. Finally I think the client:package feature is pending implementation, which is ok, but I am just mentioning it because I don’t know if it is not implemented yet, or it just didn’t work for me. Probably a single status page (or just a human written page mentioning the status) of what is implemented and what is pending will help. If such a page is already there, it should be linked in the gluon docs. Sure there are tickets which might help in assessing what is done what is pending, but it is split across a projects like substrate and client-plugin etc, it wouldn’t be easy to know.

Apart from what is mentioned in the guide https://docs.gluonhq.com/client/ which says
During the installation process, make sure that you select at least the following individual components:
- Choose the English Language Pack
- C++/CLI support for v142 build tools (14.25 or later)
- MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.25 or later)
- Windows Universal CRT SDK
- Windows 10 SDK (10.0.19041.0 or later)
I had to also install Build Tools for Visual Studios 2019 because first it said cannot find cl and then when I added this to the path, it said cannot find stdio.h
I am documenting this so that others don’t face the same problem. Probably the documentation could be updated to explain how to fix the cl not found and stdio.h not found error message.
Thank you
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (4 by maintainers)

Top Related StackOverflow Question
You do indeed need to use the snapshot version
0.1.27-SNAPSHOT. To be able to test it, you have to add the oss sonatype snapshots repository to yourpom.xml:Tracked by https://github.com/gluonhq/substrate/issues/638