Creating a WSDD project and adding jar files to the build path for DB2eAppl.java for non-Palm OS targets

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

  1. In WSDD, click Window -->Open Perspective -->Java to switch to the Java Perspective
  2. Create the DB2 Everyplace Sample project:
    1. Click File -->New -->Other.
    2. 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.
    3. On the Custom Project page of the New Project window, type DB2 Everyplace Sample for the project name, then click Next.
    4. On the Library selection page of the New Project window, select WCE jclMax (jclMax), then click Next.
    5. On the Java Settings page of the New Project window, click the Libraries tab.
    6. Add db2ejdbc.jar to the build path:
      1. Click Add External JARs.
      2. In the JAR Selection window, browse to <DB2Everyplace>\Clients\Win32\database\jdbc\db2ejdbc.jar, then click Open.

      .

    7. Back on the Java Settings page, add database_enabler.jar to the build path.
      1. Click Add External JARs.
      2. In the JAR Selection window, browse to <WSDD>\wsdd5.0\ive\lib\jclMax\database_enabler.jar, then click Open.
    8. 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