Mendix Studio pro java requirements are AdoptOpenJDK 11 or Oracle JDK 11
Class version 52 is java 8. You need Java 11. So may be your eclipse is set to JDK 8.
To probably change the Java version for eclipse
See if the below link has some input for you to fix the issue.