Thomas SMETS
Posts: 307
Nickname: tsmets
Registered: Apr, 2002
|
|
Re: applet and jdbc
|
Posted: Aug 5, 2002 5:09 PM
|
|
Well because the Oracle driver is not provided with the default JDK.... :-) You could for testing purpose define a CLASSPATH variable in your envrionment. The variable should include the classes12.zip file.
In bash you can do :
# # Assuming the file is locate in /opt/jdk/libs # CLASSPATH=/opt/jdk/1.3/jre/lib/rt.jar:/opt/jdk/libs/classes.zip:. export CLASSPATH
You could otherwise prepare the deployed version in using the <applet codebase="some_url" code="the_main_applet_class" archive="some_jars_not_part_of_the_SDK" width=400 height=75> <param name=<aName> value=<aValue>> Text for browser that cannot display Java applets </applet>
You therefore need to add the classes12.zip to the archives attribute of the <applet> tag.
See : http://java.sun.com/products/jdk/1.1/docs/guide/misc/applet.html for more informations
Rgds,
Thomas SMETS, SCJP2 - Brussels
|
|