JavaFX error: Class file has wrong version 54, should be 52

I got java JDK 11 installed and I am using the Maven JavaFX. But when I try and run the code I get a build error which is "class file has wrong version 54, should be 52"

POM.xml

<dependencies>
    <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-controls -->
    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx-controls</artifactId>
        <version>11.0.2</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-fxml -->
    <dependency>
        <groupId>org.openjfx</groupId>
        <artifactId>javafx-fxml</artifactId>
        <version>11.0.2</version>
    </dependency>

    <dependency>
        <groupId>com.ibm.watson.developer_cloud</groupId>
        <artifactId>java-sdk</artifactId>
        <version>6.14.0</version>
    </dependency>
    <dependency>
        <groupId>com.googlecode.json-simple</groupId>
        <artifactId>json-simple</artifactId>
        <version>1.1.1</version>
    </dependency>
</dependencies>
Answer:1

I am running a Java code in a server (remotely) by using javac. Now, I want to perform memory profiling remotely because as YourKit say's, Picked up JAVA_TOOL_OPTIONS: Cannot start the profiler UI: ...

I need to find and display the the employee who has the maximum salary from the Farm. this is what I got so far public class Employee implements Comparable<Employee> { private String name; ...

I am trying to build a java server using AWS on an EC2 server on tomact. Why i am building is for a game i am making in unity. This will not be a real time game where I need a constant connection ...

I want use the android NDK to make my c++ engine work on android without having to rewrite the engine in java. Can system calls for android, for example touch input, accelerometer, windowing and all ...