246 Migrating from WebSphere Application Server Community Edition to WebSphere Application Server
7.3.5 Configuring the workspace for Eclipse
In this section, we provide step-by-step instructions on how to configure the
workspace for application development using Eclipse Web Tools Platform.
Creating the workspace
To create the workspace:
1. From Windows Explore, open <eclipse_home> and double-click eclipse.exe
to launch Eclipse. This opens a Workspace Launcher dialog box as shown in
Figure 7-19.
Figure 7-19 Configure Eclipse: Workspace Launcher
Chapter 7. Developing the application on WebSphere Application Server Community Edition 247
2. Enter the Workspace directory and click OK to open the Welcome window
(Figure 7-20). In our example, we used C:\AdventureWS.
Figure 7-20 Configure Eclipse: Welcome window
248 Migrating from WebSphere Application Server Community Edition to WebSphere Application Server
3. Click the icon on the right of the window to go to the workbench shown in
Figure 7-21.
Figure 7-21 Configure Eclipse: Workbench
Chapter 7. Developing the application on WebSphere Application Server Community Edition 249
Configuring a new JRE
After you have opened the workbench, you need to configure a new JRE. Follow
these steps:
1. In the menu bar, click Window Preferences to launch the Preferences
window.
2. Click Java Installed JREs as shown in Figure 7-22.
3. Click Add to launch Add JRE wizard.
Figure 7-22 Configure Eclipse: Preferences
250 Migrating from WebSphere Application Server Community Edition to WebSphere Application Server
4. In the Add JRE dialog box (Figure 7-23), complete the following fields:
JRE type: Standard VM
JRE name: IBMJDK150
JRE home directory: C:\Program Files\IBM\Java50\jre
5. Click OK.
Figure 7-23 Configure Eclipse: Add JRE

Get Migrating from WebSphere Application Server Community Edition to WebSphere Application Server now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.