File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes no db2jdbc in java.library.path on suse10.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "no db2jdbc in java.library.path on suse10.2" Watch "no db2jdbc in java.library.path on suse10.2" New topic
Author

no db2jdbc in java.library.path on suse10.2

liuxin xinliu
Greenhorn

Joined: Jan 27, 2011
Posts: 2
now I met this problem



I have put db2java.zip in WEB-INF/lib,and i rename it to db2java.jar

I need help,is there something to config in my .profile of DB2?

thanks everyone

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3829

Welcome to CodeRanch

You need to TellTheDetails. Are you trying run a web application?
I have put db2java.zip in WEB-INF/lib,and i rename it to db2java.jar

Have you checked the contents of the zip file? Does it contain any driver jar file? (I haven't used this so cannot predict on this).


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
liuxin xinliu
Greenhorn

Joined: Jan 27, 2011
Posts: 2
Vijitha Kumara wrote:Welcome to CodeRanch

You need to TellTheDetails. Are you trying run a web application?
I have put db2java.zip in WEB-INF/lib,and i rename it to db2java.jar

Have you checked the contents of the zip file? Does it contain any driver jar file? (I haven't used this so cannot predict on this).


thank you!
now I solved this problem.
i add
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/users/db2min1/sqllib/lib
in my profile.


anyway very thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: no db2jdbc in java.library.path on suse10.2