Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC thin driver

 
Pappu Kumar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FYI
class111.zip is for java standard 1.1
class12.zip is for the java standard 1.2
 
Pappu Kumar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still doesnt workk..i set the classpath to classes12.jar
still i get classnotfoundexception
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic