Unable to create a new connection! Could you provide example code fitting to my case? We look forward to meeting you. What Version of driver do you use? The JDK version that I am using is 1.

Uploader: Telkis
Date Added: 20 June 2004
File Size: 70.67 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 57864
Price: Free* [*Free Regsitration Required]

But you can just type in the correct class and things will work as they should.

Exception in thread “main” java. Connect to DB2 database in eclipse via jdbc Ask Question. DB2Driver even though the db2jcc4. I switched from db2jcc Post as a guest Name.

How to connect to DB2 Database from Java

You can even configure this line in Eclipse, by passing the parameters in the “Run Java and db2 connection issue.

I finally did get this resolved. We look forward to meeting you.

I didn’t have any particular preference on app versus universal. Unable to create a new connection! I am getting a java.

  DIGIDESIGN 002 DRIVER

Com.ibm.db2.jcc.db2drive ; import java. Then my next guess is that you’re not using the driver that you want to be using. Our members have a wide range of skills and they all have one thing in common: Is this the preferred way to do things? Marketplace updates for closed network.

Java and db2 connection issue

java.lang.classnotfondexception DB2Driver” ; I face problem in the above line. For some reason the db2jcc4. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. ResultSet ; import java. Results 1 to 3 of 3. Post Your Answer Discard By clicking “Post Java.lang.classnotfoundezception Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

The JDK version that I am using is 1.

It’s a little misleading to think that iReport knows something about the APP driver. This is generally bad for us. Hopefully the folks at Jasper can help address the 2nd vom.ibm.db2.jcc.db2driver 3rd points: Thu, 05 June I discover the iReport do not open with that jre version.

  ADAPTEC AHA-2910B DRIVER

Similar Threads

What i see a difference between iReport and jaspersoft studio is they using different driver to connect to de DB2 db iReport use this driver: Augustine Joseph 92 2 Mar 13 – 2: Another weird thing is that I used to not have to copy any files around. I have added the Driver in the Services window and successfully setup a New Connection in the services window.

I also have a test case to test the method in question and it completes successfully.