Error: unsupported encoding Cp037 for result set column SQLState: 22021 ErrorCode: -99999 January 24, 2012
Posted by ninadgawad in Uncategorized.Tags: DB2, JDBC Driver Type 4, JDK, JRE, SQLState
trackback
Problem:
Error: unsupported encoding Cp037 for result set column SQLState: 22021 ErrorCode: -99999
Cause:
Issue with JVM version installed on your machine. Mostly occurs because of multiple versions of java in the OS or when international version of jdk/jre is not installed. It is related to carsets.jar
Solution:
Delete the java.exe from C:\Windows\system32 (make a copy first)
Make sure that JAVA_HOME is set correctly and JAVA_HOME/bin is added to PATH & CLASSPATH.
Note: Uninstall/Delete old version’s on JDK/JRE from you machine and make a fresh installation.
Advertisement



Comments»
No comments yet — be the first.