Solved

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

Posted on 2002-06-08
4
258 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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:

861 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now