This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Naik, You are gettig this exception because the driver class is not visible to your java application. Include the db2java.zip (present in the local machine) in the class path (if you are using WSAD, it is 'build path') of your application.
Joined: Aug 04, 2003
Thnx a lot for ur reply.
I have included db2java.zip in my classpath in WSAD.Still it is giving error.
Originally posted by Avi Abrami: Maybe someone who uses WSAD can tell you how to modify the CLASSPATH used by WSAD.
Each project has it's own classpath. I think the classpath Naik was referring to was the list of classpath variables. You need to update the build path for the project with the JDBC calls to include db2 as Ranga suggested.