What's the recommended way to embed JVM in C program with NO library. This means JVM as a eDSL execution engine. (Not whole Java platform environment) I'm trying to use another JVM based language instead of Java itself.
This may sound insane, but I would suggest embedding Mono and using IKVM to run your Java code. Mono is a relatively small and portable VM, which is suitable for embedding (you may even link it statically to your application) and IKVM is a faithful implementation of Java 1.6, which is capable of running even such monstrosities as Eclipse.
Using a combination of Mono/IKVM you can even compile your application Ahead-of-Time into x86 machine code (see Compiling Java Code to x86 Code).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With