Errors in java eclipse code

Hi For one requirement in menidx I used a java action. I clicked on deploy for eclipse. When I opened eclipse I got 8 errors. from different modules. I am not able to know what could be the reason for this. Am I using the java version which is not supported by the mendix version?  
2 answers

Are you using Java 11? This is the version that Mendix uses. I would suggest cleaning your deployment directory in Studio Pro and disabling automatic compilation in Eclipse. This means Mendix will compile the Java modules itself when you build your application in Studio Pro.

Hope this helps.


You Can check the JDK Utilized by your modeler under Edit – Preferences and Use the relevant JRE in Eclipse