Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help!  RSS feed

 
John Spindler
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post some code and/or the errors you are getting? Thanks
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
John Spindler
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!