I have problem with JavaFX. My jdk version is OpenJDK version "1.8.0_222" and javac 1.8.0_222. When i start JavaFX app i have this error .
Error:(3, 26) java: cannot access javafx.application.Application
bad class file: /usr/share/openjfx/lib/javafx.graphics.jar!/javafx/application/Application.class
class file has wrong version 54.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.