Java icon in dock during unit testing
Almost every dev using unit tests on his/her Mac spotted popping java icon on dock during running test. It can be totally annoying, especially when you have Android Studio/IntelliJ IDEA open in full screen. There are two simple ways to handle this.
First:
To your .bash_profile file add line:
|
1 |
export JAVA_TOOL_OPTIONS="-Dapple.awt.UIElement=true" |
Add above argument to VM execution command on Android Studio/IntelliJ IDEA like on picture below on Configuration screen:
Simple…

