Home | Previous Page | Next Page   Preparing for Java Support > Configuring Java Support >

Setting Configuration Parameters

The ONCONFIG configuration file ($INFORMIXDIR/etc/$ONCONFIG) includes the following configuration parameters that affect Java code:

UNIX Only

The following example shows sample settings for the Java-related configuration parameters on a UNIX Solaris system. In this example, jvphome is $INFORMIXDIR/extend/krakatoa.

JVPHOME       jvphome
JVPLOGFILE    jvphome/jvp.log
JVPPROPFILE   jvphome/.jvpprops
JVPJAVAVM    java_g:net_g:zip_g:mmedia_g:jpeg_g:
                   sysresource_g:agent_g
VPCLASS       jvp,num=1
JDKVERSION    1.4
JVMTHREAD     native
JVPJAVALIB    /lib/sparc/native_threads
JVPCLASSPATH  jvphome/krakatoa_g.jar:jvphome/jdbc_g.jar

In this example, JVPJAVAVM and JVPCLASSPATH are set appropriately for debug mode. To run in nondebug mode, remove all the _g suffixes.

For more information, refer to Configuration Parameters. For information about specific configuration parameter settings on your platform, refer to $INFORMIXDIR/etc/onconfig.std.

End of UNIX Only
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]