Setting up system environment for running the Sample

Table of Contents 

The following document describes steps required to set the environment in the following platforms:-

Windows

This section describes the steps required to set the Envionment to run the sample on Windows platform.

1. set <JAVA_HOME>  environment variable to point your JDK(version 1.2 or above) installation directory  

set JAVA_HOME = <JAVA_HOME>

for example,
D:\> set JAVA_HOME = d:\jdk1.3


2. Add <JAVA_HOME>\bin to system PATH

set PATH=<JAVA_HOME>\bin;%PATH%

for example,
D:\> set PATH = %JAVA_HOME%\bin;%PATH%


3. Set <JDBC_HOME> environment variable to point your Oracle JDBC driver installation directory  

set JDBC_HOME=<JDBC_HOME>

for example,
D:\> set JDBC_HOME = d:\oracle\jdbc\lib


Linux

Back To Top

This section describes the steps required to set the Envionment to run the sample on Redhat Linux Advanaced Server version 2.1 platform [Bourne shell].


1. set <JAVA_HOME>  environment variable to point your JDK(version 1.2 or above) installation directory  

export JAVA_HOME = <JAVA_HOME>

for example,
$ export JAVA_HOME=/home/usr/jdk1.3


2. Add <JAVA_HOME>\bin to system PATH

export PATH=<JAVA_HOME>/bin:$PATH

for example,
$ export PATH=$JAVA_HOME/bin:$PATH


3. Set <JDBC_HOME> environment variable to point your Oracle JDBC driver installation directory  

export JDBC_HOME=<JDBC_HOME>

for example,
$ export JDBC_HOME = /home/orahome/jdbc/lib

E-mail this page
Printer View Printer View