Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
The first thing you need to do is check that you are set up properly. This involves the following steps:
- Install Java and JDBC on your machine.
To install both the Java tm platform and the JDBC API, simply follow the instructions for downloading the latest release of the JDK tm (Java Development Kit tm ). When you download the JDK, you will get JDBC as well. The sample code demonstrating the JDBC 1.0 API was written for JDK1.1 and will run on any version of the Java platform that is compatible with JDK1.1, including JDK1.2. Note that the sample code illustrating the JDBC 2.0 API requires JDK1.2 and will not run on JDK1.1.
You can find the latest release (JDK1.2 at the time of this writing) at the following URL:
http://java.sun.com/products/JDK/CurrentRelease- Install a driver on your machine.
Your driver should include instructions for installing it. For JDBC drivers written for specific DBMSs, installation consists of just copying the driver onto your machine; there is no special configuration needed.
The JDBC-ODBC Bridge driver is not quite as easy to set up. If you download either the Solaris or Windows versions of JDK1.1, you will automatically get the JDBC-ODBC Bridge driver, which does not itself require any special configuration. ODBC, however, does. If you do not already have ODBC on your machine, you will need to see your ODBC driver vendor for information on installation and configuration.
- Install your DBMS if needed.
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2005 Sun Microsystems, Inc. All rights reserved.