• Post Reply Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException - Oracle Driver  RSS feed

 
Madhu Kaparapu
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have place the oracle driver at E:\Java\jdk1.5.0_02\jre\lib\ext\ojdbc14.zip

but when i am executing the java file for oracel conneciton then oracle.jdbc.OracleDriver ClassNotFoundException exception is throwing
i am not able to connect to database.

If i set the oracle drive location to CLASSPATH then it is working, but i have heard that if we place the oracle driver or mysql driver at jre\lib\ext\ then it automatically place to java claspath

help me soon
 
Alex Aver
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably u must unpack zip? ;-)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!