NestedVM allows you to convert C code into bytecode. The sources for this project are at:

Unfortunately the sources are out of date with many links in the makefile being invalid. Also they require a patch supplied by Matthias Fratz as described here. If you wish to download NestedVM that will compile on the latest versions of Ubuntu with Matthias Fratz's patch check out:

It includes all the patches and most of the files you need.

The steps for installation are:
1. Unzip
2. In the unzip file directory type
    make check
3. To see it in action type
    make paranoiatest
You will see a paranoia.class is created and executed from a C file called paranoia.c.