I\'m learning Java and reading this book: https://www.fca.pt/cgi-bin/fca_main.cgi/?op=2&isbn=978-972-722-791-4.
In this book, I have a Java applet exercise. I can ru
code = "packageteste.Relogio.class"
must not include .class
.jar
file use the archive="..."
attribute to tell the browser what .jar it is.packageteste.Relogio
can be found as Relogio.class
in the packageteste
directory. See also here: How to specify correctly codebase and archive in Java applet?