Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# Setting up the Environment

The ActiveSpaces JDBC driver is bundled with the ActiveSpaces Java client API and included in `tibdg.jar`. To use the ActiveSpaces JDBC driver from a client application, follow the same steps for setting up your application that you used for the Java API. For information about setting up your environment to build and run the ActiveSpaces samples, refer to the TIBCO_HOME/as/<version>/samples/src/Java/README.md file.

You can use the same environment for developing Java client applications. The ActiveSpaces JDBC driver is a Type 2 driver and uses native code for communicating with a data grid. When using the ActiveSpaces JDBC driver with client JDBC tools, you must configure the location of the ActiveSpaces native libraries.

On Linux/Mac, you can start the tool by either using the OS environment variable to specify the search path for native libraries (ex: LD_LIBRARY_PATH pointing to the AS lib directory) or by specifying that path with the following Java command-line options:

    -Djava.library.path=${TIBDG_ROOT}/lib

On Windows, `java.library.path` is not sufficient to find the dependent native libraries. You must include the paths to all native libraries (both AS and FTL bin directories) in the PATH environment variable and can avoid using the `java.library.path`.

After setting up the environmentRegistering the ActiveSpaces JDBC Driver with the Driver Manager.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveSpaces® - Enterprise Edition

Copyright © 2009-2025. Cloud Software Group, Inc. All Rights Reserved.