This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Bear Bibeault wrote:Assuming that there's a jar file in the zip that contains the JDBC driver, you'll need to put that jar file in the execution classpath.
Thanks for the heads up. Yes indeed there is a .jar file that figures prominently, and the installation instructions confirm what you have written about classpath. The package also contains 10MB of source code and a 340kb readme file which in the finest Sun tradition makes my eyes glaze over, as their documentation does presuppose a certain level of knowledge on the part of the user. Anyways, for now I'm just gonna setup the .jar file as instructed and go on the assumption that all that source code is for an alternate installation. And then hit the Tutorial. I guess I'll find out soon enough whether just dealing with the jar file and the classpath is sufficient.
Joined: May 13, 2009
OK, that was easy enough, all is fine and I have my database connectivity from java. Having cut my teeth dealing with DOS environment variables on Win3.1 boxes, I was somewhat surprised to see a path variable (CLASSPATH) contain a file reference and not just the directory the file was in, but I suppose it makes sense considering that it is the .jar file that contains the class, and not the directory that contains the class.