Building a headless app that I will wrap into an exe and run as a service, all is well compiling in debug mode, but when switching to release I want to compile to .jar but NOT run it. Workaround is to use task manage to kill it, which gets complicated if you have more than 1 java app running, so is there a way to compile in release without running?