Question: do i need jdk or jre for eclipse?
Answer: You may either install a Java Runtime Environment (JRE), or a Java Development Kit (JDK), depending on what you want to do with Eclipse. If you intend to use Eclipse for Java development, then you should install a JDK. ... If you're using Windows, you may already have a JRE installed, but upgrading usually won't hurt.