When I use eclipse, and do "properties-->java build path-->library-->JRE system Library add JRE. I have following installed in my java/folder:
I thought I should choose folder jre, right ? But I see some instructions that I can also select jdk1.8.xx. But jdk and jre folders are totally different, how come it is OK if jdk folder is chosen for JRE library ??
Jeanne Boyarsky wrote:The Java 8 JDK contains a JRE.
Yes, I know it contains. But I am just surprised that it is OK to choose two different directory (one is at jdk/ folder level) and one is just "jre". Do you mean if I choose "jdk", Eclipse will auto search for the jre sub-folder located under jdk directory ? otherwise I still can't understand why it is ok to choose either folder.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop