how do I call sqljdbc_auth.dll

dll, eclipse, java, jdbc, sql

Solution

I solved the problem.

-Djava.library.path=C:\bla\path\where\the\dll\is

just needed quotes around it like this

"-Djava.library.path=C:\Program Files (x86)\jdbc\sqljdbc_4.0\enu\auth\x86"

Problem

I'm using eclipse and want to make an sql database connection I put the sqljdbc_auth.dll in the buildpath I'm getting this error message Dec 18, 2013 10:45:54 AM com.microsoft.sqlserver.jdbc.AuthenticationJNI clinit> WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path This driver is not configured for integrated authentication. ClientConnectionId:7a06f... What am I doing wrong here?

Original source