`import javafx.embed.swing.JFXPanel;
^
bad class file: C:\Program Files\Java\javafx-sdk-17.0.7\lib\javafx.swing.jar(javafx/embed/swing/JFXPanel.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':compileJava'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Hello, i have this error
`import javafx.embed.swing.JFXPanel; ^ bad class file: C:\Program Files\Java\javafx-sdk-17.0.7\lib\javafx.swing.jar(javafx/embed/swing/JFXPanel.class) class file has wrong version 55.0, should be 52.0 Please remove or make sure it appears in the correct subdirectory of the classpath. FAILURE: Build failed with an exception.