When using ANT to build my Java application, I get this error all the time. I tried several times to use SQLJDBC.JAR and SQLJDBC4.JAR, but kept getting this error message. I am completely understating why this error was received even after upgrading to sqljdbc4.jar.
[javadoc] java.lang.UnsupportedOperationException:
Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
source
share