Setting up the DB2 for Linux, UNIX, and Windows server for debugging Java procedures

Before you debug Java procedures that target DB2® for Linux, UNIX, and Windows, you need to complete some setup steps.

Procedure

Set the JDK installation path on the DB2 for Linux, UNIX, and Windows server by issuing the command db2 update dbm cfg using JDK_PATH <JDK installation path>. For example, if your JDK installation path is /wsdb/v91/bldsupp/AIX5L64/jdk1.4.2_sr1, you would issue the command db2 update dbm cfg using JDK_PATH /wsdb/v91/bldsupp/AIX5L64/jdk1.4.2_sr1
Note: On Windows, if your JDK installation path contains spaces, put single quotes around it. For example, if you installed the JDK to its default installation directory, issue the command db2 update dbm cfg using JDK_PATH 'C:\Program Files\IBM\SQLLIB\java\jdk'.

Feedback