Okay, what I've done now, after checking out the -C option, is to just copy all my class files to the same location, and to JAR that. It works, BUT I'm having trouble accessing the applet.
My HTML file looks like this:
1 2 3 4 5
| <html> <body> <applet archive="Boom.jar" code="Boom.class" width=320 height=200></applet> </body> </html> |
I get an error - the VM can't load/find the class. So I guess that means I need to use its full packaged name, com.stefanha.boom.Boom, but that doesn't work either.
What is the correct way to run an applet from a JAR file when it is in a package?
from, Stefan