Install the latest JDK. Add the bin folder path of JDK to the path of the environment variable, and then you can use Java in the command line.
The command is simple, that is, javac is the compilation command, while Java is the execution command. For details, go to the Internet.
Here we will focus on introducing the applet. Network definition:
Applet or Java small application is a Java program component running on the client in the Web environment. It was also one of the secrets of Java's popularity in the middle of the 1990 s. Generally, each applet has a single function (for example, it is only used to display a dancing logo), so it is called a "small application ".
It does not have a main entry for the application and cannot be run independently. However, you can use a Java-supported browser or appletviewer, a small tool in the JDK. However, you may encounter "cannot read the attribute file of appletviewer" when using it for the first time, execute it, and then you can see the pop-up permission Settings dialog box. At this time,
Select Add rule project and
Add permission
,
In
"
License
"
Under
Select "All permission" from the menu and click "OK.
Click Finish in the rule project, and then you can select the file whose suffix is. Policy in the "file" menu at the top. For more information, see references. However, after successful transfer, I tried to transfer the policy file to another disk or delete it directly. It seems that the focus is not to save it.
You can also view it without using the appletviewer tool, that is, you do not need to perform the configuration steps above, directly drop it into the browser, OK.
References:
Http://www.51testing.com /? Uid-22937-action-viewspace-itemid-80919