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

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » Database and application deployment » Administration tool deployment » Administration tool deployment on Linux, Solaris, and Mac OS X


Step 3: Set 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 SQLANY16 to point to the deployment location.

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

  1. Set the following environment variable:

  2. Set the PATH to include one of the following:

    • 32-bit Linux and Solaris  

    • 64-bit Linux and Solaris  

  3. Set LD_LIBRARY_PATH to include the following:

    • 32-bit Linux and Solaris  

    • 64-bit Linux and 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.