• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Eclipse and MySQL on Windows

This isn't a java question really, except that it is an issue of dll vs jar

I need to tell a windows Eclipse project to use the MySQL library.
I have done this on my linux machine, defining a classpath variable
MYSQL_DRIVER to link to a jar file.  On windows, however, i can't figure
out how to do it. In the installation of the MySQL there is not a jar file,
but a dll.  The classpath variable will not select a dll (only jar or
zip).  How do i link the dll to the project?
1 Solution
You can download JDBC driver for MySQL from http://dev.mysql.com/downloads/connector/j/3.0.html
I use it without any need for loading DLL libraries

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now