wood burning stoves 2.0*
The moose likes JDBC and the fly likes JDBC thin driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC thin driver" Watch "JDBC thin driver" New topic
Author

JDBC thin driver

Pappu Kumar
Ranch Hand

Joined: Oct 01, 2002
Posts: 69
i set the classpath on Windows 2000 server :
C:\Oracle\Ora81\jdbc\lib\classes111.jar
But still this code...gives me an Class not found exception.
String driverName = "oracle.jdbc.driver.OracleDriver";
Class.forName(driverName);
Please help...
vishwas bansal
Greenhorn

Joined: Dec 19, 2002
Posts: 6
set classpath=%classpath%;D:\oracle\ora81Serv\jdbc\lib\classes12.zip;
This how i hv set it..compare it with yours..it shud work.
Monty Ireland
Ranch Hand

Joined: Oct 03, 2000
Posts: 161
FYI
class111.zip is for java standard 1.1
class12.zip is for the java standard 1.2


Multi Platform Database Developer & DBA on E.S.T.
Pappu Kumar
Ranch Hand

Joined: Oct 01, 2002
Posts: 69
still doesnt workk..i set the classpath to classes12.jar
still i get classnotfoundexception
 
 
subject: JDBC thin driver
 
Similar Threads
Reading data from database table that contains control characters.
Loading Oracle JDBC Driver
help with basic authentication
sqlServer connection
Loading Oracle JDBC Driver