Before you can execute your compiled JDBC applications, you must set up your environment to point to the required JDBC resources.
- Add the appropriate JDBC driver file to your system's CLASSPATH environment variable.
- If you are using Simple-JNDI to register JDBC DataSource objects, add your
simple-jndi-version.jar and the
jndi.properties to the CLASSPATH environment variable.
Note: On the CLASSPATH, you can either specify the
jndi.properties file in its original format, or as an alternative, you can compress it into a
.zip archive and specify the
.zip archive instead.