In order to be able to install and run GlassFish, your system first needs to have JDK 7 installed.
You can download Java Development Kit 7 from http://www.oracle.com/technetwork/java/javase/downloads. You need the JDK download as shown in the following screenshot:
Accept the license agreement and choose the right bundle for your operating system and architecture, for example, Windows x64 for 64-bit Windows or Windows x86 for 32-bit Windows.
When the installation is complete, double-click on the downloaded file to install the JDK. In the second step of the install wizard, change the directory ...