cmd运行java程序,无黑框闪烁 程序目录中创建 “启动.bat” @echo off set mypath="%~dp0myjar.jar" echo %mypath% start javaw -jar %mypath%