Skip to main content
Previous sectionNext section

JavaHome

Specify the Java version to use with the JDBC Gateway.

Synopsis

[SQL]    JavaHome=directory

directory is the full path to a valid directory. By default, no directory is listed.

Description

JavaHome specifies the full path of the directory that contains the non-default version of Java that you want to run when you start the JDBC Gateway. If this setting is empty, then your system's default version of Java is used.

Changing This Parameter

On the JDBC Gateway Server page of the Management Portal (System Administration > Configuration > Connectivity > JDBC Gateway Server), in the Java Home Directory field, enter the Java directory.

You can also change JavaHome with the Config.SQL class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).