This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes jdbc connection error!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc connection error!!!!" Watch "jdbc connection error!!!!" New topic

jdbc connection error!!!!

pradeep arum
Ranch Hand

Joined: Oct 01, 2003
Posts: 130
hi all ,
I am an SCJP AND NEW TO JAVA DATABASE CONNECTIVITY ,I have a problem in connecting to oracle 9i,
these are the connection statements i used
String user=null,pass=null;


Connection conn=DriverManager.getConnection ("jdbc racle:thin:@oracle:1521:acdb",user,pass);

And the error is java.lang.classnotfound exception..
please help

Failure is not when you fall down; its only when you fail to get up again.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24183

Well, presumably you've not got the Oracle driver JAR file on your CLASSPATH (or not installed properly in your application server.)

[Jess in Action][AskingGoodQuestions]
It is sorta covered in the JavaRanch Style Guide.
subject: jdbc connection error!!!!
Similar Threads
connection with oracle using jdbc driver
oracle database problems
Can not get connection from the Connection Pool Thin Drivers