Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以制作 maven appassembler 插件来生成使用“javaw”而不是“java”的启动脚本?
在 Appassembler 1.3 中,您可以通过showConsoleWindow在 POM 中配置选项来实现:
showConsoleWindow
<showConsoleWindow>flase</showConsoleWindow>
这会将生成的脚本中的行从
if "%JAVACMD%"=="" set JAVACMD=java
对此
if "%JAVACMD%"=="" set JAVACMD=start /min javaw