Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Help with jdbc install please. Oracle 817 on XP

Help with jdbc install please. Oracle 817 on XP

From: Roger Redford <dba_222_at_yahoo.com>
Date: 9 Aug 2004 18:19:16 -0700
Message-ID: <a8c29269.0408091719.3a7b4d0b@posting.google.com>


Dear experts,

I'm very new to jdbc, so please forgive the seemingly dumb questions.

I've got to get java and jdbc working with oracle on a machine running Oracle 8.1.7 on XP. I don't have any CDs to install with.

I downloaded and installed the sdk/jdk: j2sdk1.4.2_05 from:

http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html

Since I have the latest SDK, I chose the drivers:

ojdbc14_g.jar - JDBC classes with debug and trace(1,391,860 bytes) Oracle9i 9.2.0.3 JDBC Drivers
For use with JDK 1.4

The 8.1.7 drivers were supposed to be for an earlier version of the sdk, For use with JDK 1.2, according to oracle's webpage: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc817.html

Question 1)
It is correct to sync the JDBC drivers to the SDK? As opposed to the version of Oracle?


The next issue is installing them. I double clicked in Explorer, but I got a message:

Failed to load main-class manifest attribute from <filename.jar>.

So, I extracted the files with:
jar -xvf *.jar

C:\jdbctemp>dir
 Volume in drive C has no label.
 Volume Serial Number is F07E-CFC9

 Directory of C:\jdbctemp

08/09/2004  09:02 PM    <DIR>          .
08/09/2004  09:02 PM    <DIR>          ..
08/09/2004  09:02 PM    <DIR>          META-INF
08/09/2004  09:02 PM    <DIR>          oracle
08/09/2004  08:57 PM         1,391,860 ojdbc14_g.jar
               1 File(s)      1,391,860 bytes
               4 Dir(s)   5,890,023,424 bytes free


Total Files Listed:
        440 File(s)      4,628,334 bytes
        119 Dir(s)   5,889,978,368 bytes free


So, I've got lots of files here now.

question 2)
Are they just supposed to be unzipped like this? Or, do I need to do more to install them? Is there a standard or default directory to install them in, or anywhere you like?

Thanks a lot! Received on Mon Aug 09 2004 - 20:19:16 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US