Look in the <DB2InstallationDirectory>/java directory. You will find db2jcc.jar and db2jcc_licence_cu.jar. Those two work for me as a JDBC driver for DB2. I don't know what "thin" refers to in your question.
Originally posted by Paul Clapham: Look in the <DB2InstallationDirectory>/java directory. You will find db2jcc.jar and db2jcc_licence_cu.jar. Those two work for me as a JDBC driver for DB2. I don't know what "thin" refers to in your question.
As I told, I don't have DB2 client on my machine, so I don't have these jars on my machhine...
But you are connecting to a machine that does have DB2? (If you are not, then the question is rather pointless.) It will have those drivers. Copy them to your machine.
Originally posted by Paul Clapham: But you are connecting to a machine that does have DB2? (If you are not, then the question is rather pointless.) It will have those drivers. Copy them to your machine.
Yes, But I don't have access to that system. I just know IP, port number, database name, username and password. I tried with WSAD's db2jcc.jar file, but it gave me 'unauthorized driver' exception....
Well, if the administrators of that system wanted to allow you to connect to the database, I am sure they would give you a copy of the driver (including the licence file, which is what you don't have). But evidently they don't. I suppose that makes you a cracker or something like that.
Originally posted by Paul Clapham: Well, if the administrators of that system wanted to allow you to connect to the database, I am sure they would give you a copy of the driver (including the licence file, which is what you don't have). But evidently they don't. I suppose that makes you a cracker or something like that.
Yes Paul. I am trying for the licensed JAR file. Thanks.
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!