This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes ClassNotFoundException - Oracle Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "ClassNotFoundException - Oracle Driver" Watch "ClassNotFoundException - Oracle Driver" New topic
Author

ClassNotFoundException - Oracle Driver

Madhu Kaparapu
Ranch Hand

Joined: Jul 04, 2005
Posts: 35
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


Regards,
Madhu Kaparapu.
Alex Aver
Greenhorn

Joined: Jul 09, 2005
Posts: 5
Probably u must unpack zip? ;-)
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ClassNotFoundException - Oracle Driver
 
Similar Threads
Accessing database through JSP
Attachment functionality is not working when project is running on oracle10g
MY SQL database connectivity
jdbc mysql --- ClassNotFoundException problem ... please help
Help with java mail.