Last Updated: February 25, 2016
·
599
· dn2k

preventing jruby from stealing focus to the console

I have a legacy code (a mix of java/jruby code) that steal my focus every time i run any test. This is quite annoying. This opt fix the issue:

export JRUBY_OPTS=-J-Djava.awt.headless=true