Failed to load the sqljdbc_auth.dll cause :- no sqljdbc_auth in java.library.path

来源:互联网 发布:asp会员积分系统源码 编辑:程序博客网 时间:2024/06/06 03:10

First , download the latest version of jdbc driver from following address:


http://www.microsoft.com/zh-cn/download/details.aspx?id=11774


click the application you have downloaded .


Copy sqljdbc_auth.dll file from directory "....Microsoft JDBC Driver 4.1 for SQL Server\sqljdbc_4.1\chs\auth\x86"   to  java.library.path


You can print java.library.path by following code:


System.out.println(System.getProperty("java.library.path")); 


There must be one path works.



0 0
原创粉丝点击