I had the same error. Outside of Eclipse, from Windows Start menu, selected 'Start Application Server', once that was running started the 'Administration Console' and under Common Tasks... Configuration... JVM Settings, you will see a box on the right for 'Java Home'. I just pointed this to where my JDK is installed and now GlassFish works in Eclipse, no more problems.
Hope this helps...
[Message sent by forum member 'valw' (val_at_valkyrie.za.net)]
http://forums.java.net/jive/thread.jspa?messageID=389107