Mendix upgrade from 7.23.19 to 8.17.1 getting java error while creating the build
0
Mendix upgrade from 7.23.19 to 8.17.1 getting java error while creating the build C:\Users\gupta540\AppData\Local\Temp\5cia2132.hu2\javasource\audittrail\log\diff_match_patch.java:1806: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] public LinkedList<Patch> patch_make(String text1, String text2, [javac] ^ [javac] C:\Users\AppData\Local\Temp\5cia2132.hu2\javasource\audittrail\log\CreateLogObject.java:98: error: method getUser in interface ISession cannot be applied to given types; [javac] userObject = context.getSession().getUser().getMendixObject(); [javac] ^ [javac] required: IContext [javac] found: no arguments [javac] reason: actual and formal argument lists differ in length [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error Can anyone please help me on this. Thank you
asked
Vineet Gupta
3 answers
5
Mendix 8 runs on Java 11, whereas Mendix 7 runs on Java 8. Make sure that your Java actions are compatible with Java 11. The official Java 8 to 11 migration guide can be found in the Migrating From JDK 8 to Later JDK Releases section of the Oracle JDK Migration Guide.