Originally posted by Jerry Slayton:
I am running Windows 2000 and trying to connect to a DB2 database running on an OS/390. I have tried moving the db2jdbc.dll to different locations and have even reinstalled VAJ and DB2 to no avail. I have also checked my system classpath. Not sure what else to do. For some reason the DB2driver has a line in it that tells it to load the db2jdbc.dll from java.library.path. Any suggestions would be appreciated.
I believe you are on the right track with the "dll". The way I solved this problem was by adding the DB2 bin directory to my system path environment variable. Go to the control panel, select system, select the advanced tab, select environment variables, scroll down under system variables until you find path, make sure your DB2 bin directory is included.
Good Luck,
Jeff