This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
liuxin xinliu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 3997
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).

 
liuxin xinliu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!