Skip to Content

Trying to work with MS SQL I get the error "JRE (Java Runtime Environment) version 1.7 is not supported by this driver. use classlibrary sqljdbc4.jar witch supports JDBC 4.0".

Estimated Reading Time: < 1 Minute

This is usually caused by having 'sqljdbc' and 'sqljdbc4.jar' in your CLASSPATH or the %ISCOBOL%/lib directory.

You only need the sqljdbc4.jar. You should delete the sqljdbc.jar.

Here is a link to Microsoft's documentation that explains the difference between using the sqljdbc.jar and sqljdbc4.jar: http://technet.microsoft.com/en-us/library/ms378422.aspx

Trying to work with MS SQL I get the error "JRE (Java Runtime Environment) version 1.7 is not supported by this driver. use classlibrary sqljdbc4.jar witch supports JDBC 4.0".