Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - Programming » Deploying databases and applications » Deploying administration tools » Deploying administration tools on Linux, Solaris, and Mac OS X


Step 3: Setting environment variables

To run the administration tools, several environment variables must be defined or modified. This is usually done in the file, which is created by the SQL Anywhere installer. To use the file, just copy it and set SQLANY12 to point to the deployment location.

Otherwise, to set the environment up yourself, you must do the following:

  1. Set the following environment variable:

  2. Set the PATH to include the following:


    (whichever is appropriate).

  3. Set LD_LIBRARY_PATH to include the following:

    For Linux:


    For Solaris:


On Mac OS X, the administration tools make use of a shell script stub launcher called, generated at install time and placed inside the Contents/MacOS folder of each Java application bundle. As generated, the script sources the System/bin64/ file to set up the environment and then runs the JavaApplicationStub binary, which starts the actual Java application. For deployment purposes, can be modified as required to set up the environment. The name of the script can be changed by modifying the Info.plist file inside the Java application bundle and changing the string value of the key CFBundleExecutable.