Patent ID: 7802249

Claim:
An apparatus for providing a modular runtime environment architecture comprising: a single virtual machine implementation, embodied in at least one tangible computer-readable storage medium and executable utilizing at least one processor, the single virtual machine implementation providing virtual machine functionality; a plurality of support libraries, embodied in the at least one tangible computer-readable storage medium, each support library of the plurality of support libraries includes library functions, the virtual machine functionality supported by each support library of the plurality of support libraries, the plurality of support libraries including a first implementation of a specific support library and a second implementation of the specific support library; and a bi-directional virtual machine interface embodied in the at least one tangible computer-readable storage medium, the bi-directional virtual machine interface including a set of functions for executing virtual machine implementation-dependent library operations performable by the single virtual machine implementation, the set of functions callable by at least one function of the first implementation of the specific support library for executing a virtual machine implementation-dependent library function of the first implementation of the specific support library and by at least one function of the second implementation of the specific support library for executing a virtual machine implementation-dependent library function of the second implementation of the specific support library such that the first implementation of the specific support library can be replaced with the second implementation of the specific support library without modification of the bi-directional virtual machine interface or the single virtual machine implementation.