Skip to content

Tag: java-11

How to downgrade JDK?

Currently my Java version is 17. Neo4j requires me to install Java 11 or OpenJDK 11, or else it will give the error java.lang.IllegalAccessException: module java.base does not open java.nio to unnamed module @1817d444. I guess I need to downgrade to JDK 11. Java Platform, Standard Edition 11 Reference Impleme…

Combining / merging object members in a list

I got a list of objects from class A in a list. Some of these objects are equal in id and name but not in list <B> , and list b is ALWAYS different. I need to merge these so that my list is only made out of object a’s with same name and id exists and all the b