Solved

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver not found at findClassOnDisk

Posted on 2002-06-08
4
291 Views
Last Modified: 2007-12-19
I hit the above problem when i try to run my classes, i have downloaded the classes12.zip file and set that into my Win2K's system & user classpath/path. Im not sure why it does not work even after i restarted the machine a couple of times.

can someone help? thanks.
0
Comment
Question by:osiruz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 50 total points
ID: 7064408
 Are you sure the OracleDriver class is in the classes12.zip file? Have you also tried to include it explicitly in your classpath by adding the -cp option?

  Hope it helps.
0
 

Author Comment

by:osiruz
ID: 7065461
Well i managed to solve that problem.

Now im having this Exception instead:
"Invalid URL: Driver type not specified"

what might be wrong this time?

thanks for your help.


0
 

Author Comment

by:osiruz
ID: 7065482
Ok, i think i solved that as well.
I have been trying to connect to the wrong port!
After i corrected that mistake, its working fine now.

Thanks for your response anyway.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7065501
 Thank you for the points. I am glad I helped :-).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache Camel - Unable to propagate JMS Header Properties between Request - Response 3 41
jsp insert to database example 2 91
Java array 10 89
junit initializtion error 2 22
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question