Installing the JDBC client driver for windows
To install the Vertica JDBC driver on your Windows client system, download the cross-platform JDBC driver .jar
file to your system from the Vertica driver downloads page.
Choose how Java locates the JDBC driver library
For your Java client application to use the Vertica JDBC driver, the Java interpreter must be able to find the driver's library file. Choose one of these methods to tell the Java interpreter where to look for the library:
-
Copy the JDBC
.jar
file you downloaded to the system-wide Java Extensions folder (for example,C:\Program Files\Java\jre
x.x.x_x
\lib\ext
). -
Add the directory containing the JDBC
.jar
file to the CLASSPATH environment variable (see Modifying the Java CLASSPATH). -
Specify the directory containing the JDBC
.jar
using the -cp argument in the Java command line you use to start your Java application.