Thread: new to JDBC
View Single Post
  #10 (permalink)  
Old 05-01-2008, 12:17 PM
DonCash's Avatar
DonCash DonCash is offline
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 239
DonCash will become famous soon enoughDonCash will become famous soon enough
OK this is because you haven't imported the JDBC driver into Eclipse.

You need to locate the .jar file that is extracted once you download the exe from that Microsoft Download site.

Go to Eclipse: In the package navigation window on the left hand side right click your current Project.

Click 'Properties' then on the left hand side click 'Java Build Path' then click 'Add External JARs..' on the right.

Navigate to the JDBC .jar file and double click it. This will import the jar into your project.

Click OK.

Now try to run your code...
__________________
Did this post help you? Please
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
me!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote