This content has been marked as final. Show 3 replies
Hi,Your classpath is obviously wrong.
I am very new to Java and am just trying to access my
DB2 database and query a table, but I keep gettng
this classNotFound exception. I have checked my
CLASSPATH and that is correct for the DB2 files.
Any ideas what I am doing wrong? I have written my
code in Eclipse and am just running it using the menu
option Run As Java application
How do you run your app, and which class-path do you check? You are hopefully aware that an IDE e.g. doesn't give a damn about the system's classpath variable.
Thanks. I didn't realize that and have found the setting in the IDE - my little program works now!