After you install the IBM® Data Server Driver for JDBC and SQLJ, you can prepare and run JDBC or SQLJ applications.
For all DB2® products except the IBM Data Server Runtime Client and the IBM Data Server Driver Package, the DB2 for Linux, UNIX, and Windows installation process automatically installs the SDK for Java, Version 5.
If you want to use JDBC 4.0 functions, you need to install an SDK for Java, 6 or later.
If you want to use JDBC 4.1 functions, you need to install an SDK for Java, 7 or later.
If you plan to run JDBC or SQLJ applications on your system, but not to prepare them, you need a Java run-time environment only.
Any JVMs that run Java applications that access DB2 databases must include native threads support. You can specify native threads as the default thread support for some JVMs by setting the THREADS_FLAG environment variable to "native". Refer to the documentation for your Java environment for instructions on making native threads the default on your system.
System i version | PTF numbers |
---|---|
V5R3 or later | None (support is included) |
HP-UX servers: The IBM Data Server Driver for JDBC and SQLJ does not support databases that are in the HP-UX default character set, Roman8. Therefore, when you create a database on an HP-UX server that you plan to access with the IBM Data Server Driver for JDBC and SQLJ, you need to create the database with a different character set.
HP-UX clients and servers: The Java environment on an HP-UX system requires special setup to run stored procedures under the IBM Data Server Driver for JDBC and SQLJ.
Follow these steps to install the IBM Data Server Driver for JDBC and SQLJ.