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 -> Re: newbie to java oracle

Re: newbie to java oracle

From: Joe <josephfischer_at_yahoo.com>
Date: 4 Nov 2003 17:21:04 -0800
Message-ID: <4d0fdd46.0311041721.533b4222@posting.google.com>


bigbinc_at_hotmail.com (bigbinc) wrote in message news:<d1b33313.0311030830.5392a61f_at_posting.google.com>...
> I need to make a jdbc connection to oracle, I was wondering what are
> the initial steps. I have the oracle 9 client installed, I have yet
> to set any classpaths. Should I have to install the jdbc drivers?
> Also will I have to do any thing different to connect to oracle
> through a servlet.
>
> I assume, all I have to do is set the classpath to the jdbc drivers
>
> I read the docs, they are not leading me any where.

  Oracle's JDBC Developer's Guide and Reference and Java Developer's Guide should have plenty of information to get going on.   At $ORACLE_HOME/jdbc/demo is a demo.tar. Expand this and check out JdbcCheckup.java under the generic folder. If you look at the included Makefile, it will show you how to set up the classpath. Basically, javac -classpath $ORACLE_HOME/jdbc/lib/classes12.jar:. JdbcCheckup.java and then java -classpath $ORACLE_HOME/jdbc/lib/classes12.jar:. JdbcCheckupup (for Java 1.2). Received on Tue Nov 04 2003 - 19:21:04 CST

Original text of this message

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