Package oracle.jdbc.driver does not exist
While I try to establish a connection between Java and Oracle like: DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());raise an error: Package oracle.jdbc.driver does not exist
Why this's happen?
Please tell me
Adit
[B]Question asked by visitor adit[/b]
Re: Package oracle.jdbc.driver does not exist
Is oracle installed on your system. ?
Re: Package oracle.jdbc.driver does not exist
It really means that it cant find the corresponding package in the classpath, make sure to include the ojbdc14.jar(or anything else that contain the implimentation class files of jdbc interface) in the classpath.
Re: Package oracle.jdbc.driver does not exist
check whether the class path is configured proerply...
In command prompt type c:>set classpath and press enter whether the path is pointing to java folders?
Re: Package oracle.jdbc.driver does not exist
PLease set the classpath at environment variable.
right click on "Mycomputer">properties>advance>environment variable
try it