Solved Applet Won't Execute

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

shawnturner4

Member
Apr 26, 2017
2
0
0
36
Hello guys,

I am teaching myself Java using one of the self-instruction books. In the Introductory chapter, there is a Hello World Applet.
I have been able to get the code to compile - using Java Editor and the latest version of JDK 1.8. However when I try to write the simple HTML for running this applet, I get the error message cannot load plug in.

I have tried Baidu, Chrome and Firefox, the code fails to successfully execute.
Maybe this is more properly an HTML question, but since the book was written in 1996, thats a lot of bits long since passed.
Am I writing the applet the correct way? THe class file and the html code are both in the same directory.





I didn't find the right solution from the internet.
References:
- https://www.java-forums.org/java-applets/96879-applet-wont-execute.html
- Mobile intro video Examples.