MSGFILE(JSPDEBUG,,,,ENQ), XPLINK(ON), HEAP(8M,2M,ANYWHERE,KEEP), ENVAR("_CEE_ENVFILE=/u/oeusr05/CEEOPTIONS.txt")
Do not put the HEAP setting in the CEEOPTIONS.txt file. This step is not required if you are using JDK 1.5.
To deploy Java stored procedures on clients running the Linux or AIX® operating systems, or in the Solaris Operating Environment, you must manually point the workbench to the location of an installed JDK. To identify the location of a JDK, create a link to the directory where a JDK is installed. Replace db2admin in the example commands if your instance owner is named differently.
ln -s /opt/IBMJava2-131 /home/db2admin/sqllib/java/jdk
chown bin /home/db2admin/sqllib/java/jdk
chgrp bin /home/db2admin/sqllib/java/jdk
cd /usr/lib
ln -fs JAVAHOME/jre/bin/libhpi.so
ln -fs JAVAHOME/jre/bin/libjava.so
ln -fs JAVAHOME/jre/bin/classic/libjvm.sowhere JAVAHOME is the base directory for the IBM Developer kit. For example: /opt/IBMJava2-142 is the default base directory for the Developer kit 1.4.2.
cd /usr/lib
ln -fs JAVAHOME/jre/bin/libjsig.sowhere JAVAHOME is the base directory for the IBM Developer kit.
ln -fs JAVAHOME/jre/bin/libjitc.so
ln -fs JAVAHOME/jre/bin/libxhpi.so
ln -fs JAVAHOME/jre/bin/libdbgmalloc.so
ldconfigwhere JAVAHOME is the base directory for the IBM Developer kit.
cd /usr/lib
ln -fs JAVAHOME/jre/bin/libjava.so
ln -fs JAVAHOME/jre/bin/classic/libjvm.so
ln -fs JAVAHOME/jre/bin/libhpi.so
ln -fs JAVAHOME/jre/bin/libjsig.so
ln -fs JAVAHOME/jre/bin/libjitc.so
ln -fs JAVAHOME/jre/bin/libxhpi.so
ln -fs JAVAHOME/jre/bin/libdbgmalloc.swhere JAVAHOME is the base directory for the IBM Developer kit.