why eclipse is not installing?
If you intend to use Eclipse for Java development, then you should install a JDK. ... Installing that will not solve the problem, because recent versions of Eclipse require a higher version. If you install just a JRE, and not a full JDK, that error message will persist. You must install a full JDK.