JSP/Servlet | Preparing for Google App Engine Development | Installing JDK and Eclipse
The next task is to install the required software. First, install the JDK.
Installing the JDK
Anyone who wants to work with server-side Java has probably already studied at least the basics of standard Java SE, so the JDK is likely already installed.
Still, for completeness, here is a brief explanation. The JDK is distributed from the following address.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
In the “Java SE Downloads” area on this page, click the leftmost icon labeled “Java Platform (JDK) …”. You will then move to a page that lists JDK downloads. Click the JDK that matches your environment and download it. At this point, you must select “Accept License Agreement” above the list.
The downloaded file is an installer. Double-click it and proceed with the default settings to install it. You can leave the detailed settings at their defaults.
Installing Eclipse
Next is Eclipse. It is distributed from the Eclipse Foundation website. Access the following address.
You can download Eclipse from here. In the past, you had to download it by package, but the installation method has recently changed to an installer. When you double-click the downloaded file, several types of Eclipse options are displayed. These are preconfigured Eclipse distributions that include plug-ins needed for different kinds of development. For server-side Java development, select “Eclipse IDE for Java EE Developers” from the list.
After installation is complete, double-click “eclipse.exe” in the installed folder to start Eclipse.
When it starts, the “Select a directory as workspace” dialog appears first. This is the location where settings and the projects you create are stored. By default, a folder is created in your home directory and used as the workspace. Unless you have a specific reason, you can leave the default value as it is.
At startup, a screen labeled “Eclipse Java EE IDE for Web Developers” appears. This is the “Welcome screen” shown the first time Eclipse starts, and you do not particularly need to use it. Click the x on the small tab labeled “Welcome” in the upper-left of the display area to close it and move to the normal development screen.