Total members 11894 |It is currently Sun Nov 24, 2024 4:40 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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?




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

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.

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 










Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
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