Last Updated: February 25, 2016
· dn2k
Img 6995 mini

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
Say Thanks