|
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.
|