The specified directory is not a valid GlassFish installation

RichardK picture RichardK · Nov 30, 2014 · Viewed 10.3k times · Source

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):

glassfish

Answer

unwichtich picture unwichtich · Nov 30, 2014

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