Unsupported class version error for bundle project

After upgrading to version 5.15 we got the following warning: Unsupported class version error for bundle 'project'. Probably your project was compiled with Java 7, but you are currently running Mendix with Java 6. Please recompile your project with the same Java version as the version under which the application will be run. EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=com/mendix/events/model/loaded] | [org.osgi.service.event.EventHandler] | Bundle(project [104])] (bundle: project, service: [org.osgi.service.event.EventHandler]) How to recompile my project ?
1 answers

Hi Theo,

It's probably exactly what the error tells you:

Mendix still compiles using Java 6, while compiling something in Eclipse uses Java 7. Since it's probably due to an upgrade of Mendix versions, you should be able to edit which JRE Mendix uses in the settings somewhere?

Take a look in Mendix at Edit > Preferences and the General tab, there's a bit about JDK which is probably still ' old '

alt text