Hi, I think you should point your classpath to your java class directory.
Hope this helps...
Joined: Aug 20, 2004
Hi, Thanks. I got the solution. I was actually establishing the connection. For that I was setting classpath to import the oracle.jdbc.driver.*. Then It gets the package but for not considering the current package it was giving the classNotFoundError. Actually for testing purpose I made one more class which contains only "Hi". That could also not run as I had changed the classpath. Now I am ok with this. but for establishing connection I am getting the error as