It has problems at least on macbook pro with jdk 8