Results 1 to 4 of 4
- 12-21-2011, 04:51 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 27
- Rep Power
- 0
Where sqljdbc4.jar file on machine
When I'm learning JDBC, I need file sqljdbc4.jar to connect SQL Server with my Java program. File sqljdbc4.jar I easily find on Internet, no problem.
But, when I visited Microsoft MSDN page, they say sqljdbc.jar and sqljdbc4.jar are installed in these link:
<installation directory>\sqljdbc_<version>\<language>\sqljdbc.ja r
<installation directory>\sqljdbc_<version>\<language>\sqljdbc4.j ar
(With installation directory is place where I install sql server) But I cannot find above link. (In my installation directory, it doesn't have any folder name sqljdbc_<version>)
So, am I understand wrong what they say ? Please help me understand more clearer.
thanks :)
- 12-21-2011, 05:10 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Re: Where sqljdbc4.jar file on machine
You need the driver first.
It doesn't come with SQL Server (as far as I remember).
Downloading the exe to install it is probably the easiest (and deploys it as mentioned in your post).
- 12-21-2011, 06:41 PM #3
Banned
- Join Date
- Dec 2011
- Posts
- 143
- Rep Power
- 0
Re: Where sqljdbc4.jar file on machine
What did you search for?
Did you replace <version> by the version number?
E.g if you have version 1.0, you need to search for the directory, sqljdbc_1.0
If you are not sure of the driver version, just search for sqljdbc under the directory where SQLServer is installed.
That should bring up the .jar file.
- 12-21-2011, 09:51 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Re: Where sqljdbc4.jar file on machine
The MS site, that the OP got this snippet from, explains that when you install the driver (using the exe I mention in my post) it installs it as above.
This page says about installing the driver.
If the OP hasn't installed the driver then it won't be there.
Of course they could just download the jars, but the installer is just as easy.
Similar Threads
-
solaris machine /tmp folder, File.exists() cant see the existing file.
By aragorn1905 in forum Advanced JavaReplies: 0Last Post: 12-21-2011, 09:15 AM -
File copy from client machine to server
By softashu in forum Advanced JavaReplies: 1Last Post: 11-22-2011, 12:47 PM -
sqljdbc4.jar - SQL 2008 - Create database -The statement did not return a result set.
By pi4r0n in forum New To JavaReplies: 3Last Post: 02-25-2011, 04:34 PM -
transfering the file from one machine to another machine using ftp in java
By rkraj in forum Java SoftwareReplies: 0Last Post: 02-07-2011, 01:27 PM -
how to load a file in remote machine
By christina in forum New To JavaReplies: 1Last Post: 08-06-2007, 09:33 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks