Headless Java Abstract Window Toolkit (AWT)
If you have some Java code which doesn't have a GUI but uses AWT and "launches" an application (rather than executing solely from the command line), then you should investigate Using Headless Mode in the Java SE Platform.