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 24889What is the difference between Test Management tools and Defect Management tools? What are the most widely used Test Management tools?
2 22114wt is diference between int and int pointer as same as float and float pointer and char and char pointer
8 13202Post New CTS Interview Questions
F FORM RECEIVED FROM SUPPLIER, NOT DEDUCTED GOODS RETURN AMOUNT THEREAFTER WHAT IS THE PROCEDURE DONE BY DEALER?
How to calculate entry tax on kraft papers format in excel under Assam Entry tax rules?
What is $_ files in php?
What are selection fields?
What causes clicking noise in hard drive?
What is reverse engineering?
What is a calculation view?
Does inner join return duplicate rows?
Explain the concept of scope. How does scope inheritance work in angularjs?
What is the behavior of a Web browser when it receives an invalid element?
How do I concatenate a range of cells in excel with a comma?
What are the smaller dataset techniques?
What is a sqoop metastore?
Write a program to concatenate two strings.
What are the applications of die casting?