This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes ClassNotFoudException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ClassNotFoudException" Watch "ClassNotFoudException" New topic


hari vemulapalli

Joined: Mar 17, 2008
Posts: 18

I am using Eclipse. For getting the connection to DataBase I got ClassNotFoundException : oracle:jdbc:driver.OracleDriver. I have jar file here: E:\sqldeveloper\jdbc\lib. Where I Should set the classpath in eclipse. Please suggest me
sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
set your driver jar file in classpath.
Right click on project and select javabuild path and then select libraries tab and then add below:

hari vemulapalli

Joined: Mar 17, 2008
Posts: 18
Hi I am out of ClassNotFoundException . But I am getting the following....
Can you help me....Thanks

Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
at oracle.jdbc.driver.PhysicalConnection.<init>(
at oracle.jdbc.driver.T4CConnection.<init>(
at oracle.jdbc.driver.T4CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at PReport.createConnection(
at PReport.main(
hari vemulapalli

Joined: Mar 17, 2008
Posts: 18
I got it...

I changed the classpath location to jdbc/bin that is in oracle
Consider Paul's rocket mass heater.
subject: ClassNotFoudException
Similar Threads
Suggest me an IDE
about eclipse framework
IDE for java
CVS Revision and Date Tag do not work
which ide is best for mac?