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: bigbinc <bigbinc_at_hotmail.com>
Date: 5 Nov 2003 05:12:26 -0800
Message-ID: <d1b33313.0311050512.3a9c4b3b@posting.google.com>


josephfischer_at_yahoo.com (Joe) wrote in message news:<4d0fdd46.0311041721.533b4222_at_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).

That is why I love java, I knew the answer, but sometimes you have to ask. Received on Wed Nov 05 2003 - 07:12:26 CST

Original text of this message

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