Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-22-2021 04:04 PM
Have I missed something or installed incorrectly? I've put Neo4j Community Edition 4.2.2 (tried again with earlier version 4.0.11 and got the same) into IntelliJ IDEA as a library (pointed a new library at the lib dir) and when I try to compile I get this:
Error:(7, 26) java: cannot access org.neo4j.dbms.api.DatabaseManagementService
bad class file: /C:/code/Java/didi/third-party-jars/Neo4j/neo4j-community-4.2.2/lib/neo4j-graphdb-api-4.2.2.jar!/org/neo4j/dbms/api/DatabaseManagementService.class
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
Solved! Go to Solution.
01-22-2021 06:22 PM
Per How to check Java version used to compile a class | dev cases
Java 8 is version 52.0 and Java 11 is version 55.0
01-22-2021 04:58 PM
What version of java are you compiling with ??
01-22-2021 06:22 PM
Per How to check Java version used to compile a class | dev cases
Java 8 is version 52.0 and Java 11 is version 55.0
01-23-2021 03:50 AM
Yes, using the right SDK sometimes helps... Thanks!
All the sessions of the conference are now available online