Master, I have encountered such a situation before: the number of digits of jdk and eclipse is different, so jdk can be used, but eclipse cannot recognize jdk. I suggest you look at their digits. Generally, 64-bit ones can be recognized by themselves.
eclipse.ini, which can be configured, the first line -vm C:/Windows/java/jdk1.7.0_09/jdk1.7.0_09/bin/javaw.exe can be changed to the path of your own jdk
Scala eclipse version
My JDK version
View via JMC
It can be seen from the above that the jre of jdk is started. (●'◡'●)
May 16, 2016 10:03:24 Supplement
The subject can try to modify eclipse.ini and add the path of jre
Master, I have encountered such a situation before: the number of digits of jdk and eclipse is different, so jdk can be used, but eclipse cannot recognize jdk. I suggest you look at their digits. Generally, 64-bit ones can be recognized by themselves.
Are you not configuring environment variables
eclipse.ini, which can be configured, the first line
-vm
C:/Windows/java/jdk1.7.0_09/jdk1.7.0_09/bin/javaw.exe can be changed to the path of your own jdk