Re: Help installing JDBC thin

From: John R. Howey <jhowey_at_ford.com>
Date: 1998/01/09
Message-ID: <34B656A4.D9E2EF25_at_ford.com>#1/1


Joseph wrote:

> I am trying to install JDBC thin on Sun running solaris 2.5 and oracle
> 7.3.2. I have a couple of questions if someone can answer.
>
> 1)It says add classes111.zip to CLASSPATH. I am a little confused does
> this mean
> that I have to set the environment variable CLASSPATH to where
> classes111.zip is located. Like >setenv CLASSPATH
> $ORACLE_HOME/../../classes111.zip or does it have something to do with
> Java.
>

The CLASSPATH is indeed an environment
variable.CLASSPATH=/dir1/:/dir2:/dir3/x.zip etc. (List multiple sep by :)  It tells the Java VM where to look for class files not in the current directory.
You need to put the path/zip file in the CLASSPATH variable so that Java will
find the Oracle Driver.
(For more info on CLASSPATH check you JDK Docs)

> 2)Also when you connect they mentioned the TCP/IP listener on a port.
> Is this the Oracle listener that I start with to get SQL net connections
> or is it just any web listener. If it is the Oracle listener how can I
> start the listener on the same port everytime. I noticed that when I
> stop the listener and then start it back up it randomly chooses a port.
> I guess I can do that anymore because I would have to recompile my java
> code evertime.
>

The listener is the Oracle listener setup in your Oracle listener.ora file, usually
the same one as SQLNet Port 1521...Your DBA should be able to help you with the listener.

Hope this helps.
John Received on Fri Jan 09 1998 - 00:00:00 CET

Original text of this message