Eclipse and MySQL on Windows

Posted on 2004-11-01
Last Modified: 2010-03-31
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?
Question by:omom
    LVL 5

    Expert Comment

    LVL 8

    Expert Comment

    LVL 19

    Accepted Solution

    You can download JDBC driver for MySQL from
    I use it without any need for loading DLL libraries

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Title # Comments Views Activity
    how to disable hibernate query cache 2 40
    only14 challenge 19 52
    haveThree challenge 22 81
    Fix45 challenge 15 51
    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now