Skip to main content

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

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

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

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

Back to the top