Important: Java thin clients
are not packaged with JDBC provider classes. For example, the WebSphere Application Server
Version 7.0 Java thin client
is not packaged with Apache Derby 10.2 classes. Likewise, the version
6.1 Java thin client is not
packaged with Cloudscape
® Version 5.1, Cloudscape Version
10.0, or Cloudscape version 10.1 classes. Therefore,
to utilize the JDBC provider classes (such as Apache Derby, Oracle, DB2
®, Informix
®, or Sybase) on a Java thin client, you must:
- Add the classes to your Java thin
client application environment.
- Make the classes visible to the Java thin
client application. To do this, add the path to the classes in the
client classpath within the script that launched the client program.
Otherwise, any attempt to load a database class (such as through
the JNDI lookup of a datasource) results in a ClassNotFoundException.
The Java invocation to run a Java thin client application varies
between a client and a server. If your Java thin
client application needs to run on both a client installation and
a server installation, follow the steps in the topic
.