title: How can I add GlassFish 4.1 server in Eclipse Neon 2?
body: <p>I have a fresh installation of Eclipse IDE for Java EE Developers - for WIndows 64bit - Version: Neon.2 Release (4.6.2) 
  <br><br>
  I have downloaded the newest editions of GlassFish server 4.1.1 - both Full &amp; Web Profie<br><br>
  I've installed the latest GlassFish tolls using Eclipse Marketplace:<br>
  <a href="https://marketplace.eclipse.org/content/glassfish-tools" rel="noreferrer">https://marketplace.eclipse.org/content/glassfish-tools</a></p>
  
  <hr>
  
  <p>Now I am trying to add GlassFish Server to Eclipse using the latest JDK 8, but it complains that Java 6 or 7 is required:</p>
  
  <p><a href="https://i.stack.imgur.com/WXD86.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WXD86.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>OK, then I am trying to use the latest JDK 7 instead of 8, but this time it complains that this is an invalid GlassFish instalation.</p>
  
  <p><a href="https://i.stack.imgur.com/BboW3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BboW3.png" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>How can I add GlassFish server to Eclipse, what am I doing wrong ?</p>