I am running a java program that sets up a database connection to an SQL database. It works fine on Mac OS X, but when I try to run the same code on Linux, I get a Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/SQLClientInfoException.
I am using jdk-1.6.0_02 - if I unzip src.zip, it turns out that SQLClientInfoException.java is not contained therein.
Also, the API documentation shows that there are exactly two methods that use this exception, both in java.sql.Connection. However, if I look at both methods in the source code, both of them seem to throw the more general SQLException instead.
Is that a bug in my java version or am I doing something wrong?