Issue
While trying out JDBC program to connect to PostgreSQL database using eclipse it flagged an error saying
java.sql.SQLException: No suitable driver found
It was suggested to place the PostgreSQL driver jar file on the class path. Now my question is, how to place the file on the classpath?.
I am new to eclipse so it would be better for a detailed explanation.
Solution
I hope u are in need of the way to buidpath.
Right click on the lib folder and select buildpath option >import jars> ok
If this doesnt help u then try copy pasting it mannually under the desired folder hopefully under lib folder.
Answered By - ragavi ravikumar
Answer Checked By - David Goodson (JavaFixing Volunteer)