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.
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.