I cann't connect the oracle database! I had wrote the code such as Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc racle:thin:@192.168.0.24:1521","siis","siis"); siis is user name and passward. when i run this program,it shows me that java.lang.ClassNotFoundException racle.jdbc.driver.OracleDriver at java.net.URLClassLoader$1.run<Unkown Source> at ............ at ......
Joined: Jul 11, 2002
From the information provided in your post, it looks like the program is not able to find the Oracle classes requried for making the connection i.e. the JDBC Drivers.. Are you sure that the jdbc drivers are in your class path at the time of running the application?
Best Regards,<br />Nagendra Prasad.
Joined: Aug 31, 2003
Thanks a lot ,Nagendra Prasad. Today it runs good. Maybe it's the problem of the network.