Dwayne Brown wrote:I have my HTML file located under the "JRE System Library".
Don't do that. Don't put anything in that library. Set up a separate directory for your code and data.
My java file is located in a package I created.
But your HTML code looks for an applet which is not in a package.
Below is the HTML code I am using to call the applet.
Since the HTML file doesn't say otherwise, the browser expects to download the applet from the same directory as it downloaded the HTML file from. (Of course, since your applet is in a package, it's the package root which the browser will expect to be in the same directory as the HTML.)
You mentioned Eclipse? Sure, Eclipse is good for
testing applets, but when you go to implement the applet, forget about Eclipse altogether. You're going to be serving the HTML and the applet from a web server, where Eclipse won't be around. So
you should set up things -- outside Eclipse -- in the same way as you're going to set them up when you deploy them to your web server.