Forums Register Login

JDBC Applet problem

+Pie Number of slices to send: Send
I am trying to run a sample JDBC Applet code I picked from Sun's Java web site. I have a Derby DB sitting on my local PC and thought I would be able to leverage the sample to connect to this local DB and issue a select SQL statement and display the results. But it throws me an error stating:

SQLException: java.sql.SQLException: Not suitable driver found
Any pointers as to why I am getting this error?

My CLASSPATH environment variable is set to:
C:\db-derby-10.3.2.1-bin\lib\derby.jar;.;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip

Sample Java Code:

Thanks in advance for any help.

Arthur
[ December 19, 2007: Message edited by: Arthur Johnson ]
+Pie Number of slices to send: Send
Arthur,
Welcome to JavaRanch!

I'm going to move this to our Applets forum where they know about how classpaths affect applets.
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1068 times.
Similar Threads
JDBC Applet problem
JDBC applets
An JDBC problem
JDBC Source Code Error
Applet connecting Database Error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:26:21.