Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6767925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:00:35+00:00 2026-05-26T15:00:35+00:00

I am having this question that really puzzles me, here it goes: If I

  • 0

I am having this question that really puzzles me, here it goes:
If I connect to DB2 on linux via java app, I don’t need to add any db2 jar file to CP, as long as java.library.path has the right native library path included, the connection looks fine;
If I connect to Oracle, I kindof have to add the ojdbcX jar file to CP and have the right library path in java.library.path as well to ensure the successful connection.

Am I not seeing the full picture or this is how they work? Any pointers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:00:36+00:00Added an answer on May 26, 2026 at 3:00 pm

    I have 2 explanations and hope that one of them is correct.

    Probably DB2 driver is fully native, i.e. there is not java code at all. So, you do not have to add any jar to classpath. Other possibility is that probably the native code of DB2 connector (driver) loads java classes itself.

    Other explanation is that you probably installed some kind of DB2 kit or client on your system and the installation program changed environment variable CLASSPATH and added there db2 jar, so this jar is available for all java applications on your machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I feel really dumb for asking this question, but here it goes. I have
This question is pretty generic actually, but I'm really having trouble finding a good
This is really a double question, my two end goals having answers to: What
This is more a style question. For CPU bound processes that really benefit for
I don't really know where to begin asking this question, so I'll just try
What motivates me to write this question is that I'm really into making good
This is an offshoot question that's related to another I asked here . I'm
After having this question answered through a link to an external site , I
I'm having trouble understanding this question, and the explanation of the answer for an
After googling and landing on SO and having read this other question Is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.