Check that you are using the correct JRE with your installation of Eclipse.
From GlassFish Tools page:
"Even if the correct version of Java is installed, Eclipse may find an earlier version upon launch, if it exists somewhere else on the system." - See more at: http://marketplace.eclipse.org/content/glassfish-tools#sthash.Ych3VCKr.dpuf
You can see what version you are using by running this code:
public class JavaVersion {
public static void main(String[] args)
{
System.out.println(System.getProperty("java.runtime.version"));
}
}
With Eclipse Luna, you should be using Java 8.
To change what version your installation uses, go to Window - Preferences - Java - Installed JRE's and select add. Select Standard VM and press next. Press Directory and navigate to where your JRE is and select it. Press Finish. It will now be on the list of installed JRE's. Ensure that it is selected as default. Press OK.
(Note - it will be a good idea to not just install the JRE, but in fact the JDK instead. Do exactly the same, but navigate to JDK files.)
Now, when you create new projects, the default JRE will be the new one.
And now, GlassFish will be available from the list of server types in the new server wizard. (I restarted my Eclipse - it might be necessary, but I'm not sure).