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.
Ok! I have Java SDK 1.2.2 installed on a web server running New Atlanta 4.1. That works great! however I am now trying to write some code to use JDBC and I keep getting errors like Explicit cast needed, can't convert java.sql.ResultSet to ResultSet then if I use the absolute path in my code like "java.sql.ResultSet" and "java.sql.Statement" I can get it to compile but it will NOT execute. I think maybe it's something do with my classpath? Has anyone seen this kind of behavior before? Any suggestions? Thanks, Brian [ April 28, 2003: Message edited by: John Spindler ]
The first thing that I would recommend is to use something higher than SDK 1.2.2, we are already at 1.4, and I know that a lot of JDBC stuff has changed from 1.2 to 1.3. If this still doesn't work, post your code and the exceptions that you get, and we will try to figure it out. Eugene.
Joined: Feb 12, 2002
I was stuck on 1.2.2 due to software requirements. I figured it out though, some of my dependent .jar files were missing. Thanks a million though!