jamvm with classpath compiled to a huge js file via emscripten
Feel free to contribute!
-
Install emscripten by
apt-get install emscripten
or goto emscripten folder andmake
(this option requires 20GB of free space and 8GB of RAM) -
Compile classpath via
cd classpath && ./javify-build.sh
-
Compile JamVM via
cd jamvm && ./javify-build.sh
-
Link them together via
cd jamvm && emcc ./lib/libjavalang.so ./lib/libjvm.so src/jam.o -s TOTAL_MEMORY=167772160
-
Test it
js a.out.js
Packages: cmake build-essential
TODO