Sqljdbc4.jar

Dears,

I would need to connect to an SQL server 2005 or SQL server 2008. The error that I have is

class java.lang.UnsupportedOperationException: Este controlador no admite Java Runtime Environment (JRE) versión 1.6 . Use la biblioteca de clases sqljdbc4.jar, que proporciona compatibilidad para JDBC 4.0.

Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

URL: jdbc:sqlserver://itsbebemax01;databaseName=ABELLO

It looks like the server is using the sqljdbc.jar instead of sqljdbc4.jar, but I don't know how to configure properly to change to use one or another.

Thanks.

Marcos.

Hello,

Have you tried replacing one with the other?

Regards