Is it possible to make maven appassembler plugin to generate startup scripts that use 'javaw' instead of 'java'?
Asked
Active
Viewed 496 times
1 Answers
3
In Appassembler 1.3 you can do it by configuring the showConsoleWindow
option in the POM:
<showConsoleWindow>flase</showConsoleWindow>
This will change the line in the resulting Script from
if "%JAVACMD%"=="" set JAVACMD=java
to this
if "%JAVACMD%"=="" set JAVACMD=start /min javaw

Oliver
- 490
- 4
- 10
-
A small downside is is that you can only specify this in the general `
` of the plugin, not for every ` – Bowi Nov 08 '16 at 08:17`.