Crazy Java Handouts (1)--Java language overview

Source: Internet
Author: User

Student question: Isn't the JVM a virtual machine that runs Java programs? What is the relationship between the JRE and the JVM?
A: Simply put, the JRE contains the JVM. The JVM is the core virtual machine that runs Java programs, and running Java programs requires not only the core virtual machines, but also other classloader, bytecode validators, and a large number of base class libraries. In addition to the JVM, the JRE contains additional environment support for running Java programs.

Student question: Why not install a public JRE?
A: The public JRE is a standalone JRE system that is installed separately under the other paths of the system. The public JRE registers the Java Runtime environment with the Internet Explorer browser and the system. In this way, the public JRE can be used by any application in the system. There is not much need to install a public JRE because there are fewer opportunities to execute applets on a Web page, and it is entirely possible to run Java programs using the JRE in the JDK directory.

Crazy Java Handouts (1)--Java language overview

Related Article

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.