Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Re[2]: connectiong to db2

Hello Ahu,

Thursday, August 8, 2002, 3:10:31 PM, you wrote:

AEGT> Hi Ricardo,
AEGT> I was using the following code:
AEGT>         Class.forName("");
AEGT>         String url = "jdbc:db2:" + dbname;
AEGT>         con = DriverManager.getConnection(url, user, password);
AEGT> I changed the first line as :
AEGT> Class.forName("").newInstance();

  Try with "com", not "COM"..

AEGT> Now I receive: "java.lang.UnsatisfiedLinkError: no db2jdbc in java.library.path"

AEGT> I added -Djava.library.path=c:/sqllib/bin*db2jdbc.dll as JVM parameter in the preferences,Tomcat/JVM Settings.
AEGT> The result is the same.....

Best regards,
 Alexandru                            mailto:aleb@xxxxxxxxxx

Back to the top