You do not need any extra environment variables to execute UDRs written in Java code. However, if you are developing Java UDRs, you must include jvphome/krakatoa.jar in your CLASSPATH environment variable so that JDK can compile the Java source files that use Informix Java packages.
The following sections describe the runtime environment variables that you can set.
Set AFDEBUG to 1 to create files to hold verbose garbage collection messages from the JVM. You can also set the configuration parameter AFCRASH to 0x00000010 to achieve the same result.
Set the environment variable JVM_MAX_HEAP_SIZE to configure the heap size for the JVM. The default heap size is 16 megabytes. You can set this variable to the maximum heap size needed for the JVM, depending on the estimated requirements of the application.
Set the JAR_TEMP_pATH environment variable to specify a local file-system location where jar management procedures such as install_jar and replace_jar can store JAR files temporarily. This directory must have read and write permissions for the user who brings up the database server. If the JAR_TEMP_PATH environment variable is not set, temporary copies of JAR files are stored in the /tmp directory of the local file system for the database server.
To turn off just-in-time (JIT) compilation, set the JAVA_COMPILER environment variable to NONE or none. For more information on JIT compilation, see the Java documentation from Sun Microsystems.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]