I am going through a strange problem which I dont know how to fix. I am trying to configure GlassFish 4.0 in my eclipse. When I click on GlassFish 4.0 from the server list and hit next, it throws an error stating:
Glassfish server runtime requires full JDK instead of JRE
I already added jdk1.8.0_73
in eclipse, so I selected that from the drop down. Once I select that it throws a new error stating:
This server runtime requires JRE 1.7 or higher.
I have jre1.8.0_66
also in the drop down, when I select that it again goes back to the previous error:
Glassfish server runtime requires full JDK instead of JRE
The error goes back and forth whenever I select jdk or jre and I am clueless on how to proceed. Can anyone throw some light on what to do here?