I have a question regarding using the OracleDriver within the
DriverManager.registerDriver call.
I have a basic Java program that tests my connection to the db using
the below call and then creating a connection. It works fine.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Now, when I try to create an applet and perform the same calls, I
receive an error to the effect:
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:239)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
and I have maintained the same classpath settings.
Does anyone have any ideas why the Applet does not recognize the
OracleDriver class?
Thanks for any insight,
Bob