Hi.
The problem I have is most likely of my own doing. Still, I hope my question won't be met with derision.
I've been programming Java from its appearance in 1997 till about 10 years ago when browsers began experience difficulty loading Java.
I own a web site Interactive Mathematics Miscellany and Puzzles and, while at it, I wrote about 1000 Java applets to present math concepts, problems and puzzles. Nothing at the professional level. Since math and not programming per se was my interest, I stuck to the approach Java allowed originally. I would store my applets and libraries in zip files and invoke them, e.g., as
<applet code="appletName" codebase="classDirectory" archive="applet.zip,library1.zip,library2.zip">
A few months ago, Firefox - the last browser that yet let my applets run - stopped supporting its Java add-on.
Now, I purchased a code signing certificate, converted some zipped applets into jar files and the converted applets load in IE11 and Safari. I'd like to simplify the process.
The problem is that libraries must be converted to packages and imported into the code. In my view, I did everything right. I added "package myLibrary;" as the first line to every Java file in the library, compiled them into a jar file (I work in eclipse, so I Export'ed the declared package into a jar file), added "import myLibrary;" to the applet.java. The result was an error message: "The import myLibrary cannot be resolved" although I added the jar file to the project's library list.
What is wrong? Thank you for your help.