I have written a program appletExample.java.
c:/users/set path = "C:\Program Files\Java\jdk-16\bin"
c:/users/desktop/jp>appletviewer appletexample.java
The error is"
'applet viewer' is not recognized as an internal or external command,
operable program or batch file.
I am getting this error. But set path is also correct way but why this error has occurred? Could anyone explain to me?
As other people have said, applets are history really but try the following:
Bear in mind that to run a java file as an argument to appletviewer, it needs to have a special format with commented-out applet tags in the Java source