Java entry level 1

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.