The Java EE 6 Tutorial, Volume I

SDK Installation Tips

During the installation of the SDK:

This tutorial refers to the directory where you install the Enterprise Server as as-install-parent. For example, the default installation directory on Microsoft Windows is C:\glassfishv3, so as-install-parent is C:\glassfishv3. The Enterprise Server itself is installed in as-install, the glassfish directory under as-install-parent. So on Microsoft Windows, as-install is C:\glassfishv3\glassfish.

After you install the Enterprise Server, add the following directories to your PATH to avoid having to specify the full path when you use commands:

as-install-parent/bin
as-install/bin