This question should be relevant to anyone who is interested in learning about the relationship between the versions of standard java objects and JDK version, and about how to rollback your java version.
So: how do I rollback a version of my java.util.Map object? I'm sure I'll have to rollback other objects as well.
I'm trying to follow these instructions (https://cloud.google.com/solutions/mobile/mobile-firebase-app-engine-flexible ), and when I try to get maven to run my local server or deploy to the cloud app engine, I see errors like these:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
(default-compile) on project backend: Compilation failure [ERROR]
C:\Users\bensw\AndroidStudioProjects\firebase-appengine-backend\src\main\java\com\google\cloud\solutions\flexenv\common\LogEntry.java:[23,17]
cannot access java.util.Map [ERROR] bad class file:
/modules/java.base/java/util/Map.class [ERROR] class file has
wrong version 55.0, should be 53.0 [ERROR] Please remove or make
sure it appears in the correct subdirectory of the classpath.
I've found some postings here on this topic, but I'm not sure how to apply those answers to this situation. I'm not using IntelliJ, and I'm not sure of what SDK I need to change. Class file has wrong version 52.0, should be 50.0
I've tried switching back to Java 6, based on a guess that Java 6 has the right Map.class version, but to my surprise, that didn't work.
Thanks, Ben