Java2 codes,problems ,discussions and solutions are here
Thu Oct 30, 2008 9:29 pm
I'm developing an Applet that connects to an Oracle Database and I'm
getting the ClassNotFoundException: oracle.jdbc.driver.OracleDriver
although I configured JBuilder8 normally as I did for my Java
Application (I developed a Java Application just to test the
connection with the same driver and the same driver configuration in
JBuilder).
The Java Application program didn't make any problem, but the Applet
generated this exception and, in the printStackTrace()-generated
text, I read this:
E:\Login\classes\oracle\jdbc\driver\OracleDriver.class (The system
cannot find the file specified).
I have configured JBuilder8 to use a library (in the required
library tab in project properties) that I added to it (just like I
did for my application). This library includes 3 .jar files
classes12.jar, ocrs12.jar, and nls_charset12.jar
Is there any difference between developing a database connectivity
for an application and that of an applet?
Can anyone help?
Thu Oct 30, 2008 9:31 pm
Simple, you don't have the MySQL JDBC driver on the classpath. If you
don't have it at all, get it and put it on the classpath.
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.