"%NEO4J_HOME%\bin\neo4j console" on Windows gives "java.lang.UnsupportedClassVersionError"

I am trying to install Neo4j 2025.01.0 on Windows 11. When I run
neo4j console
I get
Error: LinkageError occurred while loading main class org.neo4j.server.startup.Neo4jCommand
java.lang.UnsupportedClassVersionError: org/neo4j/server/startup/Neo4jCommand has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

I have tried this with Java SE Runtime Environment (build 21) which has class file version 65 andalso with the latest build (23).

@molleo

do you encounter the same when running neo4j start or when run as a Windows service?

Is there a specific need for neo4j console ?

I get the same error message with "neo4j start", "neo4j status" and "neo4j console".