CentOS Start Neo4j Database Error: Error: A JNI error has occurred, please check your installation and try again
This is because when installing neo4j, it comes with:
java-11-openjdk-headless-11.0.15.0.9-2.el7_9.x86_64
java-11-openjdk-11.0.15.0.9-2.el7_9.x86_64
This is caused by a conflict with the version of JDK previously installed on the server
So now you just need to uninstall all JDK versions and reinstall neo4j
check the existing JDK
rpm -qa | grep jdk
Uninstall all jdks (it’s easy to uninstall some files in CUDA, but it doesn’t affect deep learning and GPU training model)
yum -y remove(Uninstall all the packages that appear above)
Reinstall neo4j
sudo yum install neo4j
Read More:
- [Solved] docker: Error response from daemon: OCI runtime create failed: container_linux.go:380
- How to Fix Linux sub process /usr/bin/dpkg returned an error code (1)
- CentOS 8: No URLs in mirrorlist error [How to Solve]
- [Solved] TensorRT Error: Assertion Error in trtSmToCask: 0 (Unsupported SM.)
- Solution to IO error encountered in Rsync: skipping file deletion
- [Solved] Ubuntu18.04 Px4 (xtdrone) gazebo joint simulate error
- [Solved] Apex Install Error: ERROR: Command errored out with exit status 1
- CentOS/RHEL 7: How to Reinstall GRUB2 from Rescue Mode (EFI)
- How to Fix No default.conf file in conf.d after Installing Nginx
- linux tomcat Run (DWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugIni)
- Linux Install Docker Error: Failed to restart docker.service: Unit docker.service not found.
- [Solved] CUDA driver version is insufficient for CUDA runtime version
- Linux apt-get update Error: Error in `appstreamcli‘: double free or corruption … Aborted (core dumped)
- Centos7 Error: initramfs not found
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- [Solved] yum Command Error: Error: Failed to download metadata for repo ‘appstream‘
- ros2 apt-get install error: E: Failed to fetch http://packages.ros.org…
- Grep: How to Find All the Files Containing a String in Linux
- [Solved] error while loading shared libraries: libmpc.so.3: cannot open shared object file
- yum: Error: Failed to download metadata for repo ‘aliyun-AppStream‘: Cannot download repomd.xml