I am trying to access a database table from my java program, though my connection is successfull....i cannot access specified table, the exception is while retrieving the record set. However, i can retrieve some of the columns of the table, the issue might be with the some columns in the table, due to some character encoding.

Exception is during run time.
My installed jreversion is : JRE 1.5.0_11
The error message is as follows.

Exception in thread "main" java.lang.NoSuchMethodError: sun.io.ByteToCharSingleB
at sun.io.ByteToCharCp037.<clinit>(ByteToCharCp037.ja va:84)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.io.Converters.getConverterClass(Unknown Source)
at sun.io.Converters.newConverter(Unknown Source)
at sun.io.ByteToCharConverter.getConverter(Unknown Source)
at com.ibm.db2.jcc.a.bs.b(bs.java:1989)
at com.ibm.db2.jcc.a.bs.a(bs.java:1926)
at com.ibm.db2.jcc.a.d.a(d.java:1079)
at com.ibm.db2.jcc.a.bd.a(bd.java:1452)
at com.ibm.db2.jcc.a.bd.m(bd.java:495)
at com.ibm.db2.jcc.a.bd.i(bd.java:217)
at com.ibm.db2.jcc.a.bd.c(bd.java:54)
at com.ibm.db2.jcc.a.r.c(r.java:53)
at com.ibm.db2.jcc.a.bp.h(bp.java:156)
at com.ibm.db2.jcc.b.ce.j(ce.java:880)
at com.ibm.db2.jcc.b.ce.a(ce.java:1313)
at com.ibm.db2.jcc.b.ce.executeQuery(ce.java:253)
at DB2Connector.main(DB2Connector.java:60)

I have tried adding the charsets.jar to the class path also.

Help would be greatly apprecitated . Thank you .