The virtual machine is referred to as the guest, while the environment is referred to as the host. Virtual machines are used to execute an instruction set different than that of the host system.
Java Runtime Environment (JRE)
A notable example of a virtual machine is the Java Runtime Environment. A program coded in Java will receive services from the Java Runtime Environment, or JRE. The Java program will act the virtual machine because it takes the place of the operating system for which the program would be used.
Types Of Virtual Machines
There are two major types of virtual machines: system virtual machines and process virtual machines. A system virtual machine acts as a complete system platform that supports the execution of an entire operating system. However, a process virtual machine is designed to run as a single program that supports a single process. This is how the Java Runtime Environment works.
The JRE acts as a platform for Java programs to run on. Java-specific commands are interpreted by the Java Runtime Environment. The Java programming language does not contain platform-specific codes that correspond to a single operating system that will display output and access resources. To accomplish this task, the JRE will simulate virtualized resources. These tasks are then transferred to the machine's actual resources.
One major component of virtual machines is the fact that the program running on the virtual machine is limited to the resources provided by the virtual machine. Both of these types of virtual machines act as an environment that does not physically exist, but which is created in another environment, such an operating system.
Process virtual machines like the Java Runtime Environment uses application virtualization in order to allow the binary codes for applications to be run on several different types of operating systems. The program is usually run on the computer with the use of an interpreter or just-in-time compilation.
An interpreter will allow the program made with virtual instructions to be loaded and run without compilation. A just-in-time compilation, or JIT, is a compilation method used by virtual machines that interprets the machine's native instructions at the latest possible time, which is usually the time right before the program runs.
Published by The Armchair Geek
We are a Mid-West PLR Firm specializing in creating powerful web content for clients in a wide array of industries. This is a sampling of some of our IT-focused articles. For more of our work, you can co... View profile
Virtual Machine Software for BeginnersIn part 1 of an ongoing series we will be learning about Virtual Machine Software from various vendors. What are they, where to get them and how to install them.
VMWare - Run Virtual Computers Inside Your PC VMWare is a piece of software that allows computer users to install and run many different operating systems, including Linux, Windows, BSD and Solaris, inside a "virtual machin...- How to Create a Virtual Desktop on a Mac Using Free SoftwareFor many years virtual desktops were a novelty. The ability to run a 'computer' within a computer, or to run several operating systems off one machine at the same time was....
- How to Create a Virtual Desktop on Windows Using Free SoftwareVirtual desktops are wonderful devices. Allowing the user to real time control over two (or more) operating systems at the same time is the biggest perk and something....
- How to Create and Run a Virtual Machine for FreeIn this tutorial, you will learn how to create a virtual machine with VirtualBox. A free alternative to VMware.
- How to Become a Virtual Assistant
- What is a Virtual Colonoscopy?
- Microsoft Virtual PC 2004 SP1 Review
- What is a Virtual Personal Assistant or VPA?
- CM's Wii Virtual Console Guide, Volume 4
- Making Money as a Virtual Assistant
- Review of Virtual Vegas 7007 Slots by SelectSoft
- A virtual machine (virtual PC) is technically defined as an isolated replica of a real machine.
- The virtual machine is referred to as the guest, while the environment is referred to as the host.
- Virtual machines are created within another environment.



