DB2 Version 9.7 for Linux, UNIX, and Windows

Building Java database applications

You can build JDBC and SQLJ database applications manually. Alternatively, you can use a Java™ makefile to build JDBC applications, and use the bldsqlj build file that is shipped with DB2® for Linux, UNIX, and Windows to build SQLJ applications.