Installing JDK

Because GWT is a Java-based development toolkit, Java SE Development Kit (JDK) must be installed for the development of a GWT project. We will use the NetBeans IDE, which also requires JDK to be installed.

Getting ready

Download the JDK, which is freely available from Sun Developer Networks (SDN) Downloads at http://www.oracle.com/technetwork/indexes/downloads/index.html.

How to do it...

  1. Execute the JDK installer. For windows, the installer filename is jdk-6u18-windows-i586.exe, or something similar to this.
  2. Accept the License Agreement.
  3. Select the features to be installed from the given list. The available features are Development Tools, Demos and Samples, Source Code, Public JRE, and Java DB. Java DB is not required for our purpose.
    How to do it...
  4. Set the installation directory.
  5. Click on Next and follow the instructions.