Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Failure in loading T2 native library db2jcct2

Thread Tools

Failure in loading T2 native library db2jcct2

Posts: n/a
I have written th following code to connect to db2/400 ->

//Connect to a database
Connection conn = DriverManager.getConnection
catch (SQLException e)
System.out.println("SQL Exception: ");
I am getting the following error
SQL Exception
Failure in loading T2 native library db2jcct2
On my pc I am not having db2jcct2.dll .
Is the location of db2jcct2.dll ->C:\Program Files\IBM\SQLLIB
The SQLLIB directory is missing.
If I have to install db2jcct2.dll, where would I install it,where
would I get it.
I have searched to down load the db2jcct2.dll, but couldn't.

Is this dll related to as400.I have as400 installed on my PC.Can this
be possible ,while installing
as400 ,the SQLLIB didn't get install.

Do let me know how I go about.


Reply With Quote
Greg R. Broderick
Posts: n/a
"savita" <(E-Mail Removed)> wrote in
news:(E-Mail Removed)

> -------------------------------------------------------------------------
> ---------------------------------- I am getting the following error
> SQL Exception
> Failure in loading T2 native library db2jcct2

Google is your friend:



these were the first two references returned from a search on the single
term "db2jcct2". Please make a bare minimum of effort to solve problems
using resources already available to you before posting your problems to
the group.


Greg R. Broderick (E-Mail Removed)

A. Top posters.
Q. What is the most annoying thing on Usenet?
Reply With Quote
jsiler1 jsiler1 is offline
Junior Member
Join Date: May 2008
Posts: 1
for those who come along later and may not know even after having done some research. posting to a forum is a request for help. If you don't want to help don't answer the question with snide remarks. I am getting the same error in a z/OS jdbc install. your links were not useful at all.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gem native extension installer failure on winxp pro 64 system David Southwell Ruby 4 08-11-2008 10:12 PM
Exception thrown & Failure in loading T2 native library db2jcct2 while connecting to db2/400 through java savita Java 1 12-30-2006 03:37 PM
python & Tkinter - library loading failure in linux Venky Python 0 11-30-2005 02:04 AM
Loading Native DLLs in JSP/servlets Brett Slocum Java 1 03-18-2005 11:30 PM
IBM JVM: loading two native libraries in JNI, second one has problems Alex Hunsley Java 4 11-14-2003 10:08 AM