Sample Java program
for interacting with Oracle using the Oracle JDBC drivers.
JDBC Thin drivers for Oracle 8.1.5 and
8.1.6.
To download the driver(s), rightclick your browser's pointer over the link
and use the "Save Link Target As" option.
To compile and run the sample Java program above,
Use Java 1.2 or higher. Ensure that java and javac are in your
path environment variable.
Set the CLASSPATH environment variable to include the complete pathname of
your Oracle JDBC driver. For example,
if your driver is located at /usr/guest/oracle815.jar, then
use setenv CLASSPATH ".:/usr/guest/oracle815.jar".
Compile, javac JdbcSample.java, and run java JdbcSample.