The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Oracle 8

Posted by Gajju on November 15, 2000 at 10:45 AM

HEllo!!!

Just now i installed personal oracle 8, and tried one example of creating a table through java pro, but it didn't run it gave me following error.

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver



I used

Class.forName("oracle.jdbc.driver.OracleDriver");
String url="jdbc:oracle:thin:@milind:1521:oracle8";

Is it wrong???
Then what is the correct way?
Thanks Gajju!




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us