The specified directory is not a valid GlassFish installation

glassfish

Solution

The Glassfish installation folder contains a folder which is also named glassfish. This is the folder you have to put in the configuration field.

Change the path to:

c:/Glassfish/glassfish

Problem

I'm trying to install GlassFish 4 with Eclipse on Windows 7 64bit. Everything goes fine, but when I try to set server root here's what happens (dir exists):

Original source