Skip to main content
Previous sectionNext section


Specify the Java version to use with the JDBC Gateway.


[SQL]    JavaHome=directory

directory is the full path to a valid directory. The maximum length is 260 characters. By default, no directory is listed.


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.SQLOpens in a new window 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).

FeedbackOpens in a new window