After chopping hands, the fraud call came before the express delivery was received. How to improve the privacy and security of e-commerce>>>
1. Background:
Because I used jdk1.9 to learn before, when I used Luke, I found that the JDK version was too high, and I needed to configure JDK downward, so I copied an installation package from a friend. After the path is reconfigured, an error is reported
2. Problem Description:
Failed to load the JNI shared library
At the same time, a string of paths will appear, indicating that the relevant startup file can not be found, resulting in eclipse opening failure
3. Solution process and Thinking:
In order to improve the efficiency of solving problems that we haven’t met before, we should find GG first
There are two solutions given by the predecessors
One is that the bit of OS is inconsistent with the bit of JDK. A 64bit system is installed with a 32bit JDK
At first, I didn’t think I would make such a low-level problem, but this is what I actually encountered. This is the jdk-8u151-windows-i586.exe, which is a 32bit installation package. I don’t know yet. After restarting the computer and confirming the path again and again, I installed three jdks: 1.8×64, 1.9×64, and this package which I didn’t know. Then I compared the configurations one by one to eliminate the path and eclipse problems. Later, I found out that the bag I packed was really 32
I haven’t met the second problem, so I just sorted out and moved the solutions
If there is no prompt file in the path, you need to copy a corresponding file or re install the corresponding JDK version
If there are related files under the path, we should consider whether it is the installation path (Java)_ The problem of repeated conflict. Check the environment variable or registry to see if there is a residual unused or invalid configuration path, delete and update to the latest Java installation path, and update the path environment variable (% Java)_ HOME%\bin)。
4. Remarks:
In Windows OS, generally:
The 32-bit software is installed to C:: program files (x86) by default\
64 bit software, the default installation to: C:: program files\
Similar Posts:
- Solve the error reported by eclipse project: unbound classpath container
- [Java] deepin solves the problem of picked up in JDK_JAVA_Options:-AWT. Usesystemaafontsettings=gasp
- Eclipse Open Error: “The Eclipse executable launcher was unable to locate its companion shared library”
- Eclipse online installation of fatjar and error resolution
- Ubuntu16.04: How to Solve “no java virtual machine was found after searching the following locations:” Error
- linux sudo java : command not found
- Failed to install node with. MSI, rolling back action (Reprint)
- The solution of javaw.exe in your current path
- About javac error bash: Java: command not found solution
- [Solved] Eclipse Run Java Error: NoClassDefFoundError: javax/xml/bind/*