Somewhat working check of JavaFX version (may fail)