Use SceneBuilder with JavaFX 11 in IDEA
I am using IDEA (with OpenJDK 11), and I am trying to use the SceneBuilder to display my FXML files. It works, except when I use inherited JavaFX components, for example : public class MyLabel extends Label { public MyLabel(){ super(); setText("42"); } } I always get an error : java.lang.UnsupportedClassVersionError: sample/MyLabel has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 So I looked in my IDEA installation folder (C:\Users\me\AppData\Local\JetBrains\Toolbox\apps