On Feb 10, 12:37 pm, Knute Johnson<nos...@knutejohnson.com> wrote:
On 2/10/2012 11:26 AM, simplicity wrote:
I do, but I only specify MyApplet.jar there. Does it mean that I
should have sbsdk.jar added to archive attribute?
If you are using classes from sbsdk.jar at runtime, you need to include
that file in the archive statement.
How about plugin.jar? Obviously, I do not have the access to its
compiled classes but this one loads without complains. What's the
difference?
I'm not familiar with what plugin.jar does so I don't know if it would
be included by some other method. So I would try including it.
Including sbsk.jar in the archive
<applet code="MyApplet.class" archive="MyApplet.jar,sbsdk.jar"
mayscript
width="700" height="500">
</applet>
works.
For some reason I do not need to spec plugin.jar. Well, this is a
"system" archive so maybe there is a global setting of JVM to link it.
Anyway...
not so surprising that a plugin uses plugin.jar.