Installing the JNI-based synchronization provider on Win32

To install the JNI-based synchronization provider on a Win32 operating system, you must compile and run the ISyncSample program. JNI-based implementations for Win32 devices have been tested on Sun MicroSystems Java(TM) VM and the IBM Java(TM) 2 Standard Edition Developer Kit .

Procedure

  1. Compile the ISyncSample program.
    1. Change the PATH system variable to include the following directories:
      <DB2e_InstDir>\Clients\Win32\database\x86
      <DB2e_InstDir>\Clients\Win32\sync
      
    2. Change the CLASSPATH variable to include the isync4j.jar file:
      <DB2e_InstDir>\Clients\Win32\Sync\isync4j.jar
      
    3. Compile the sample files included in the <DB2e_InstDir>\Clients\clientapisample\Java_API directory. For example:
      javac ISyncSample.java
      
  2. Edit the isyncdb2e.properties file to specify the server URL, user, and password.
  3. Run the ISyncSample program.
    1. Type the following command:
      java.exe ISyncSample <property file>
      
      where <property file> is the property file for your client database. For example:
      java.exe -classpath .; isync4j.jar ISyncSample isyncdb2e.properties
      

Zugehörige Tasks