• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

VisualeAge and DB2: ClassNotFoundException

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In map schema. Schema->export Entire Schema to Database
Connection type: COM.ibm.db2.app.DB2Driver
Data Source: jdbc:db2:ACCOUNT
Userid: db2admin
Password: db2admin
if i click button: Test
I receive the following errors:
java.lang.ClassNotFoundException: COM.db2.jdbc.app.DB2Driver
although my classpath contains: C:\SQLLIB\java\db2java.zip
I have unziped my db2java.zip file and find in it two DB2Driver.class files
The first one belongs to the "COM.ibm.db2.jdbc.app"
and the second one belongs to "COM.ibm.db2.jdbc.net" packages

thank you in advance
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guess u need to set the classpath in VAJ setting - an option called edit classpath setting in quickstart(F2) where in the path needs to be set to <drive:>/sqllib/java/db2java.zip.
This had solved the problem (a similar one) for me.
 
reply
    Bookmark Topic Watch Topic
  • New Topic