There is a well known COM api allowing arbitrary C++ code to host a .NET runtime. Is something like this possible for a JVM runtime? I am not talking about COM API in particular, any C/C++ API will do.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As @LeleDumbo said in the comments JNI sounds like what you want.
Specifically the Invocation API which “… allows software vendors to load the Java VM into an arbitrary native application.”