This task is part of the main task of Compiling and running sample Java
applications on non-Palm OS targets. After you complete these steps,
return to Compiling and running sample Java applications on non-Palm OS targets.
Procedure
- In WSDD, click Window -->Open Perspective -->Java to
switch to the Java Perspective
- Create the DB2 Everyplace Sample project:
- Click File -->New -->Other.
- On the Select page of the New Project window, select WCE for J9 in the
left pane, select Create WCE project in the right pane, then click
Next.
- On the Custom Project page of the New Project window, type DB2
Everyplace Sample for the project name, then click
Next.
- On the Library selection page of the New Project window, select WCE jclMax
(jclMax), then click Next.
- On the Java Settings page of the New Project window, click the
Libraries tab.
-
Add db2ejdbc.jar to the build path:
- Click Add External JARs.
- In the JAR Selection window, browse to
<DB2Everyplace>\Clients\Win32\database\jdbc\db2ejdbc.jar,
then click Open.
.
- Back on the Java Settings page, add database_enabler.jar
to the build path.
- Click Add External JARs.
- In the JAR Selection window, browse to
<WSDD>\wsdd5.0\ive\lib\jclMax\database_enabler.jar,
then click Open.
- Back on the Java Settings page of the New Project window, click
Finish.
Return to Compiling and running sample Java applications on non-Palm OS targets