Make sure BOTH asjava.zip and unijdbc.jar are in the classpath on the
client.  If that doesn't work, try unzipping unijdbc.jar (change the
extension to .zip) and see what the folder hierarchy looks like.  Maybe
Rocket has changed the folder names and the documentation hasn't been
updated yet.  Rather than being located at
com.ibm.u2.jdbc.UniJDBCDriver, the driver might now be found at
com.rocket.u2.jdbc.UniJDBCDriver.

Also, I think you'll need to change the url setting from:

String url = "jdbc:ibm-u2.//" + MyHost + MyAccount ;

to:

String url = "jdbc:ibm-u2.//" + MyHost + "/" + MyAccount ;

but I don't think that's the cause of the error your getting at the
moment.

-John

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brutzman,
Bill
Sent: Monday, March 22, 2010 8:20 AM
To: U2 Users List
Subject: Re: [U2] Using JDBC - Source Code

JDBC problem... Java program cannot seem to find driver

 

  Class.forName("com.ibm.u2.jdbc.UniJDBCDriver");
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to