SMA and LLA Guide : Creating and running LLA applications with Java : Configuring your environment for LLA use with Java
  
Configuring your environment for LLA use with Java
When using LLA with Java, your LD_LIBRARY_PATH or LIBPATH (Linux and UNIX) or PATH (Windows) environment variable must include the location of the LLA library. The LLA link libraries are available in the <solidDB®_installation_directory/bin> and <solidDB®_installation_directory/ lib> directories.
Before you begin
It is assumed that you have installed and registered the solidDB® JDBC Driver.
About this task
Linked library access (LLA) system libraries
Platform
Static LLA library
Dynamic/shared LLA library
Windows
bin\ssolidacxx.dll
lib\solidimpac.lib
This is an import library file that gives you access to the actual library file bin\ssolidacxx.dll.
AIX
bin/solidac.a
lib/libssolidacxx.so
This is a symbolic link that gives you access to the actual library file bin/ssolidacxx.so.
HP-UX
bin/solidac.a
lib/libssolidacxx.so
This is a symbolic link that gives you access to the actual library file bin/ssolidacxx.so.
Linux
bin/solidac.a
lib/libssolidacxx.so
This is a symbolic link that gives you access to the actual library file bin/ssolidacxx.so
Solaris
bin/solidac.a
lib/libssolidacxx.so
This is a symbolic link that gives you access to the actual library file bin/ssolidacxx.so
xx is the version number of the driver library, for example, ssolidac70.so.
Note In Linux and UNIX environments, you need to link to the symbolic link library libssolidacxx that is available in the <solidDB®_installation_directory/ lib> directory. Alternatively, rename the ssolidacxx library in the <solidDB®_installation_directory/bin> directory as libssolidacxx.
Procedure
1 Add the location of the LLA library to the LD_LIBRARY_PATH or LIBPATH (Linux and UNIX) or PATH (Windows) environment variable.
In Linux and UNIX environments, use the following syntax:
export LD_LIBRARY_PATH=<path to LLA library>:$LD_LIBRARY_PATH
or in AIX environments:
export LIBPATH=<path to LLA library>:$LIBPATH
Example:
export LD_LIBRARY_PATH=/opt/solidDB/soliddb-100/lib
In Windows environments, use the following syntax:
set PATH=<path to LLA library>=;%PATH%
2 Set up your database environment by creating a working directory, your solidDB® database, and user accounts.
For instructions, see Creating a new database in the solidDB® Administrator Guide.
Note The application and the SMA server processes must have identical file access permissions (database files, log files, and so on). The file access permissions are not checked at startup; subsequently, insufficient file access permissions may cause the SMA server to crash at a later point.
See also
Creating and running LLA applications with Java