Patent ID: 6851112

Claim:
A method of running multiple applications in a computer system on a virtual machine such that the multiple applications appear to the virtual machine as only a single application, comprising the steps of: running a single environment application on said virtual machine: loading one or more applications as compiled code into said environment application, each of said one or more applications being assigned to a separate process within the environment application; and running said one or more applications by running their assigned processes within the environment application, whereby said one or more applications appear to the virtual machine as part of the environment application; and wherein said step of loading includes the steps of scanning said compiled code for certain predetermined instructions and performing first bytecode manipulation to effect a callback to said environment application for a system exit call, wherein the first bytecode manipulation is to replace the system exit call with a callback to the environment application, and performing a second bytecode manipulation to effect a callback to said environment for creation of a frame or window.