First of all you should get JdK 8. if you have Jdk installed. you should set its path using cmd prompt or system variables. sometimes it can happen that the path is not set due to which eclipse is unable to get the properties for jdk.