Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC oracle8i connection on the server  RSS feed

 
parul sharma
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!!
i have win2000 and oracle8i(server) installed.whenever i try to connect to the oracle database the java pgm. returns an error"no suitable driver found".what is the problem(i have jdk1.4 installed)
please help...
thank in advance
parul
 
Greg Kearn
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to add class11.jar to you classpath, after you downloaded it from Oracle. You need to all import java.sql.* to your program and load the correct driver for Oracle: driver="oracle.jdbc.driver.OracleDriver";
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!