There are countless tools for writing java, but one of the most troublesome things before writing java is the configuration environment. Sometimes even if the configuration environment is over, there will still be problems of this or that kind. Today, we will not write how to configure the environment. , Today, I will briefly talk about some problems that will occur after the environment is configured.
question
Java for Windows Missing
Cause Analysis
This is a very common problem. After you download the JDK and install it, the environment is correct. How to check whether it is correct?
win+R brings up cmd and input java
It appears that the JDK is installed, is the path correct? What version is it?
Input: javac
To view the version, it is: java -version
Solution
If all of yours are correct, then the above error of missing JDK is still reported, that is, there is only one reason to leave, the version of JDK and your version of eclipse are wrong
You can check whether your JDK is 32-bit or 64-bit, and then see how much eclipse is, it doesn't matter if you can't download it
After opening it looks like this:
You can choose the version you need to install: