java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }
6 24904What is the difference between Test Management tools and Defect Management tools? What are the most widely used Test Management tools?
2 22120wt is diference between int and int pointer as same as float and float pointer and char and char pointer
8 13211Post New CTS Interview Questions
How are virtual functions implemented in c++?
What is the purpose of regexp_label property and regexp_msw_class property?
What is substitution variable in pl sql?
What is action c#?
What is il and c#?
Explain about failure options in TD
how will you change ltg size?
defult setting in p220 micom motor proction relay for 11kv,640kw,f.l.a.-40a,1440rpm ht motor?
What is the use of @required annotation?
How is a submarine able to submerge and surface?
why using transformer and thyristor switch in 3 phase apfc panel
Your i-sever crashed. What will you do?
What are the Time-Dependent Workflow Limitations?
What is the default transaction attribute for an ejb?
What is difference between an Array and ArrayList?