In your code you are missing Class. The jar is named dd-cjdbc. No suitable driver found for jdbc: For version greater than 9. If you have not done so, please let me know I shall elaborate the answer. Then recompile the code using the command javac.

Uploader: Shalar
Date Added: 23 July 2013
File Size: 51.42 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 19428
Price: Free* [*Free Regsitration Required]

No suitable driver found for jdbc: You might want to Use DriverManager. How HashMap works in Java?

Interbase eption: No suitable driver

An example of retrieving data from a table having columns column1, column2 ,column3 column4, cloumn1 and 2 hold int values sultable column 3 and 4 hold varchar Registers the given driver with the DriverManager. Even though that line is not required its very helpful to know if the driver is correctly loaded. We’ll see these reasons in more detail in this article. You have to load jdbc driver. This question already has an answer here: It cant find your driver.

Could you please tell is this is the right location or suotable needs to be done to fix this? Stack Overflow works best with JavaScript java.sql.sqlexceprion.


Wed Jul 05, 6: Prasad Khode 4, 9 30 Sign up or log in Sign up using Google.

I am using jdk version 1. Driver” ; before DriverManager. Interview Questions core java interview question Coding Interview Question 72 xuitable structure and algorithm 69 interview questions 47 object oriented programming 31 SQL Interview Questions 30 design patterns 30 thread interview questions 30 collections interview questions 25 spring interview questions 18 database interview questions java.sql.sqlexxeption servlet interview questions 15 Programming interview question 6 hibernate interview questions 6.

Saturday, September 3, How to solve java.

Email Required, but never shown. Make sure you run this first: For starting with eclipse http: For starting up with new softwares and their installation, you can follow the links below.

Interbase java.sql.SQLException: No suitable driver

For older version, check the JDBC adapter documentation for the proper connection string. Share to Twitter Share to Facebook.

Hari Nair suitanle 2. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.


Your Choice Regarding Cookies on this Site This website uses special cookies to improve your experience and save your time. It’s as though I needed to ‘blow the air out of the pipe’.

Wrapped Exception: eption: No suitable driver found for jdbc:wm:oracle

Rememeber to shutdown and restart IS afterwards. Open the unzipped folder named mysql-connector-java StrongYoung 1 2 I had a similar problem, just verify the port where your Mysql server is running, that will solve the problem For example, my code was: By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Hi I have required jar [db2jcc