When I had that problem, switching from OpenJDK to...
# tornadofx
s
When I had that problem, switching from OpenJDK to Oracle fixed it.