• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database program major issues.

 
Peter Tyo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First below is the code.


I need to take the CIW database Certification. I ordered there self study kit that is way behind times. I had to download Java 1.3.1 and I can't even find the CloudScape v3.5.. I found a version 10 from IBM and have now idea what to do with it...

The code above will compile but when ran the output is simple..

COM.cloudscape.core.JDBCDriver


any ideas?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I'm betting that the driver class is actually "com....", not "COM....".

And it should be "Class.forName(driver)", not "Class.forName(driver).newInstance()", although that most likely would not cause an exception.

If you want a full error message -including the line number of the line that caused it-, you can put "e.printStackTrace()" into the catch block.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic