Looking forward for help.Tried this patch on oracle site which asked for class file to be replaced in classes12.zip when we extract it at location oracle/jdbc/ttc7 - didnt wotk , same error.
Now i hace switched back to the orignal classes12.zip
Maximilian Xavier Stocker
Joined: Sep 20, 2005
Classpath variables are evil and as you can see have done you no good whatsoever.
The bottom line is that your runtime does not have the oracle libraries in it's classpath. You haven't identified how you are running this code.
Joined: Dec 15, 2005
My CLASSPATH variable is set to C:\Program Files\Java\jdk1.5.0_06\jre\lib\classes111.zip and C:\Program Files\Java\jdk1.5.0_06\jre\lib\classes12.zip
I have evn set path for ORACLE_HOME/jdbc/lib/classes111.zip and ORACLE_HOME/jdbc/lib/classes12.zip.
While it has nothing to do with the ClassNotFoundException 1) classes111.zip is the driver for Java 1.1, classes12.zip is the driver for Java 1.2 You need to pick one or the other; having both will cause problems. 2) Generally, putting libraries in the jre\lib directory is wrong; they're part of your application and should be kept with your application code.