CentOS 7.6 JDK installation, download the following JDK package
wget https://mirrors.huaweicloud.com/java/jdk/8u201-b09/jdk-8u201-linux-i586.tar.gz
After installation. After configuring environment variables, execute Java – version to report an error
-bash: /root/jdk1.8.0_201/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Solution
Just run sudo yum install glibc.i686
Then look at java -version
OK!
Read More:
- JDK installation exception link it with ‘- Z noexecstack’ and inux 64 bit zendguardloader.so: wrong elf class: elfclass32 error handling
- [Solved] Syntax Error: Error: ENOENT: no such file or directory, scandir ‘D:\LeStoreD
- Linux: How to Solve jdk11+easy poi Export Excel Error
- [Javac compilation exception] javac compilation prompts that the package in jdk cannot be found error: package jdk.internal.org.objectweb.asm does not exist and error: cannot find symbol
- [Solved] Invalid Gradle JDK configuration found. Open Gradle Settings Change JDK location
- Notes for migrating Oracle jdk8 to openjdk11
- [Solved] Jar error on Linux: no main manifest attribute
- [Solved] Python Error: socket.error [Errno 9] Bad file descriptor
- [Solved] SpringBoot Error: This application has no explicit mapping for /error,so you are seeing this as a fallback
- Java error: unable to find or load main class (package name in source file)
- [Solved] Error: (3, 31) Java: package jdk.nashorn.internal.ir does not exist
- Maven error: Could not find artifact jdk.tools [How to Solve]
- SpringBoot 404 Error: Whitelabel Error Page This application has no explicit mapping for /error, so yo
- [Solved] memcached Install Error: failed to ignore SIGHUP: no error
- [Solved] com.highgo.jdbc.util.PSQLException:bad value for long
- Error java JDK isn‘t specified for module [How to Solve]
- [Solved] Linux java -jar Start Project Error: Unsupported major.minor version 52.0
- [Solved] Springboot project introduces Font library error: java.awt.fontformatexception: bad table, tag = XXXXXX
- Eclipse Error: There are no resources that can be added or removed from the server.
- AlmaLinux 9.1: How to Install java11