Until version 8, the java directory present under db2 installed binaries used to come with a file 'usejdbc2'. In our environment, all the java applications use 'usejdbc2' to source the jdbc jar files but as 'usejdbc2' is not present in version 9.5 any more, make sure the java applications are not coded to use the file 'usejdbc2' instead make them point to db2java.zip and db2jcc.jar/db2jcc4.jar depending up on the JDK level.