I´m currently running neo4j 3.5.11 on a SUSE SLES 12 SP5 and I want to Upgrade to Version 4.2.1.
Official Docs (https://neo4j.com/docs/operations-manual/4.2/installation/linux/rpm/#linux-rpm-suse) tell me to install at least Java 11 runtime. So I did this with:
$ zypper install java-11-openjdk
After this I already changed the Link of /usr/bin/java with:
$ sudo update-alternatives --config java
To the new Version and
$ java -version
Shows:
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment (build 11.0.9+11-suse-3.15.1-x8664)
OpenJDK 64-Bit Server VM (build 11.0.9+11-suse-3.15.1-x8664, mixed mode)
But when I try to start:
$ neo4j console
I only get:
ERROR! Neo4j cannot be started using java version 1.8.0_272.
* Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions.
This is my old java version. What am I missing???
P.S. I already rebooted the System.