Setting up a sample on Windows
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- Documentation
The following steps provide the process of setting up the schema, building the IP, and configuring the OpenAccessSDK900_Java service.
-
Build the IP module:
a. Set CLASSPATH to
install_dir\ip\oajava\oasql.jar..c:\> set CLASSPATH=c:\program files\datadirect\oaserver70\ip\oajava\oasql.jarb. Change to the sample directory and compile the Java classes.
c:\> cd intall_dir\ip\oajava\example1c:\> javac *.java -
Run the OpenAccess SDK Management Console and modify the OpenAccessSDK900_Java service to specify the IP module and schema\example as the schema path.
a. Run the OpenAccess SDK Management Console.
b. Expand the OpenAccessSDK900_Java service node to the Data Source Settings node:
- Select
examplefor the example1 or example3 sample. - Select
memoryfor the memory sample.
c. Select the
IP Parametersfolder.d.Modify the DataSourceIPSchemaPath attribute to
install_dir\ip\schema\example, where example is replaced by example1, example3, or memory.e. Modify the DataSourceIPClass attribute to the class name of the IP:
oajava/example/damip, where example is replaced by example1, example3, or memory.f. Save the settings and restart the OpenAccessSDK900_Java service.
- Select
-
From an OpenAccess SDK client, connect to the IP module you have just built:
- Use the example data source for example1 or example3. example1 and example3 do not require a user name and password.
- Use the memory data source to connect to the memory sample. The memory sample requires the user name
poohand the passwordbear.