do you have experience with maven? check this out (add to your pom file)


if not you should add the library to your proyect try with this one sqljdbc4-2.0.jar

hope this works! :)


the option that you describe is for eclipse (internal) database explorer.

so, for your project:

  1. you need create a folder (ej: 'lib').
  2. put inside the jar that contains the sqldriver class.
  3. add the jar to classpath:
  4. right-click on the project.
  5. properties
  6. java build path
  7. add jars...
  8. locate your lib folder inside your project... and ready.

now, the program can load sqldriver from jar.

Related Query

More Query from same tag