Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: HELP: what's the jdbc driver for Oracle 8.0.5 ??
Ok, I'm using 8.0.4 on solaris
I use the thin client driver for both my application and applets.
It is located in $ORACLE_HOME/jdbc/lib/classes111.zip
If you don't have a classes111.zip file from oracle, go to there site
and download their thin driver.
It's jdbc80406-sol.zip file and the classes111.zip is contained within.
so your javac statement would look like, for example, javac -classpath .:/export/opt/oracle/ora8/jdbc/lib/classes111.zip Essai1.java
your java command would look like:
java -classpath .:/export/opt/oracle/ora8/jdbc/lib/classes111.zip Essai1
Your dbDriver for the
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
or you could use
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
Hope that helps.
Cindy
monsri_at_my-deja.com wrote:
> Hi here,
> Could anybody please tell me what's the right Oracle 8.0.5 driver
> for Java ??
> I get the following error:
> > >java -classpath .:%CLASSPATH% Essai1
> > ClassNotFoundException: oracle.jdbc.driver.OracleDriver
> > SQLException: No suitable driver
> > >
> > >java Essai1
> > ClassNotFoundException: oracle.jdbc.driver.OracleDriver
> > SQLException: No suitable driver
>
> And my version of Java is 1.2.1 for Solaris.
> What should I put in my 'Class.forName("...");' command line ??
>
> Thanks a lot !
> Seb
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Received on Fri Jul 02 1999 - 19:29:09 CDT
![]() |
![]() |