Setting environment variables for the upgrade tool
Before you run acUpgradeTool, edit the setenv file to set the environment variables that are required by the acUpgradeTool tool.
Procedure
-
Open setenv.bat (Windows) or setenv.sh (UNIX) in a
text editor.
The setenv file is stored in the directory where you installed the upgrade tools, for example, Campaign_Home/tools/upgrade/12.1+To12.1.7.
- Follow the instructions in the setenv file
to supply the values that are relevant to your installation.The following table contains a list of the variables:
Table 1. Variables in the setenv file: Variable Description JAVA_HOME
Required.
Root directory of the JDK used by your Unica Campaign installation.
JDBCDRIVER_CLASSPATH
Required.
Full path for the JDBC drivers, including the .jar file.
Other variables There are many optional variables you can set. For example:- To run Unicode script, set IS_UNICODE_SCRIPT = YES
- To avoid memory errors when running the upgrade tool, specify
larger Java™ heap memory sizes
in the
JAVA_OPTIONS
environment variable.