• 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

VAJ er: UnsatisfiedLinkError: no db2jdbc in java.library.path

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running Windows 2000 and trying to connect to a DB2 database running on an OS/390. I have tried moving the db2jdbc.dll to different locations and have even reinstalled VAJ and DB2 to no avail. I have also checked my system classpath. Not sure what else to do. For some reason the DB2driver has a line in it that tells it to load the db2jdbc.dll from java.library.path. Any suggestions would be appreciated.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jerry Slayton:
I am running Windows 2000 and trying to connect to a DB2 database running on an OS/390. I have tried moving the db2jdbc.dll to different locations and have even reinstalled VAJ and DB2 to no avail. I have also checked my system classpath. Not sure what else to do. For some reason the DB2driver has a line in it that tells it to load the db2jdbc.dll from java.library.path. Any suggestions would be appreciated.



I believe you are on the right track with the "dll". The way I solved this problem was by adding the DB2 bin directory to my system path environment variable. Go to the control panel, select system, select the advanced tab, select environment variables, scroll down under system variables until you find path, make sure your DB2 bin directory is included.
Good Luck,
Jeff
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure you reboot after setting the environment variables. I found that simply setting them, clicking OK (and restarting Tomcat in my case) is not enough.
 
reply
    Bookmark Topic Watch Topic
  • New Topic