To be sure, you must add flags.
-Dcom.sun.javafx.isEmbedded=true-Dcom.sun.javafx.touch=true-Dcom.sun.javafx.virtualKeyboard=javafx
in javavm and not in the application ... (added as a message, since I can not comment ...)
Is a keyboard setup required? check /com/sun/javafx/scene/control/skin/caspian/fxvk.css in ${JRE/JDK_INSTALL}/jre/lib/ext/jfxrt.jar for css fields affecting the keyboard.
source share