Throw out the Java JVM and the Microsoft CLR. Barebones Linux on QEMU is the VM to keep your code flexible and running forever.
QEMU is a virtual machine like VMWare or VirtualBox, but completely free and open source—meaning, you can emulate one computer from another. Virtualization is the key to pulling off all sorts of stupid info-tech tricks. The trick I’m pulling off is a tiny version of Linux that will run with a double-click from Windows, OS X or Ubuntu. This page is where I keep the current formula for building the latest QEMU binaries on each of these platforms.
You need MinGW to compile QEMU on Windows. MinGW stands for “Minimum GNU for Windows”, meaning your resulting compiled binaries depend only on MSCVRT.dll, which has been shipped with Windows since XP. Therefore, you no longer need to install the monolithic CygWin, which turns your entire PC into a GNU Linux clone to get just that one Unix-like binary running.
Uhhhh, you need Python installed on your Windows machine to compile QEMU under MinGW. But not only that, you need a particular PATH environment variable set before even ./configure will run. http://en.wikibooks.org/wiki/QEMU/MinGW
- export PATH=".:/usr/local/bin:/mingw/bin:/bin:/c/python27:/c/python27/dlls:$PATH"