README for the HP Neoview JDBC Type 4 Driver (Upd2 R2.3 SP2)

8. Set up the client environment. See Setting Up the Client Environment.
Reinstalling the JDBC Type 4 Driver
1. Close all applications running on the workstation, except the Web browser.
2. In the browser, navigate to the download site: www.software.hp.com.
3. Enter this string in the Search box:
“Neoview JDBC”
4. Download and save the new TAR file to the directory or folder where you had previously
downloaded the driver.
5. Dearchive the hpt4jdbc_2.3.<v>.tar file by using the tar command (or the WinZip Extract
tool):
tar xvf hpt4jdbc_2.3.<v>.tar
The command creates these directories:
samples/, which contains sample programs
lib/, which contains the hpt4jdbc.jar file
install/, which contains sanityCheck and UnInstall
6. Set up the client environment. See Setting Up the Client Environment.
Setting Up the Client Environment
To set up the client environment, enter one of these groups of commands at a command prompt:
On Windows:
set JAVA_HOME=<your JDK directory>
set PATH=%PATH%;%JAVA_HOME%\bin
set CLASSPATH=%CLASSPATH%;<type 4 home>\lib\hpt4jdbc.jar;
On HP-UX, Solaris, or Linux:
export JAVA_HOME=<your JDK directory>
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=$CLASSPATH:<type 4 home>/lib/hpt4jdbc.jar:
<type 4 home> is the directory where you downloaded the JDBC Type 4 driver.
Configuring Applications
Edit the hpt4jdbc.properties file. Set these values for your environment:
catalog: The catalog name must be NEO.
schema: Specify a schema that exists in the Neoview database.
user: Specify the name of a user who will be accessing the Neoview database.
password: Specify the password of a user who will be accessing the Neoview database.
url: Specify this string:
jdbc:hpt4jdbc://<machine_name>:<port_number>/:
<machine_name> is the IP address or name of the database platform, and <port_number>
is the location where Neoview Database Connectivity Service (NDCS) is running.
Example of an hpt4jdbc.properties file:
catalog = NEO
schema = <your schema>
user = <user name>
Installation for Neoview Release 2.3 7