java - Prevent background process from showing up on Dock -


i have java application. tasks, run jvm instance in parallel using processbuilder. i.e. main application starts jvm instance using process , both communicate using i/o.

but on dock on mac, shows both process: enter image description here

i not want that, other process back-end work , not required shown front. risk can manually force quit process easily.

what should done make sure runs on background , doesn't show on dock

if back-end processor not need screen resources simplest thing launch new jvm in headless mode:

java -djava.awt.headless=true com.bl.processmain 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -