I suppose the question I'm asking is it possible to host a JVM inside a WPF application?
WPF = Windows Presentation Foundation
Found this so far:
I suppose the question I'm asking is it possible to host a JVM inside a WPF application?
WPF = Windows Presentation Foundation
Found this so far:
The thing you found looks reasonable.
Otherwise, you could look at IKVM and see if you can use that to solve your problem.
Since you can P/invoke out to anything, you could create a native c/c++ library that starts up the vm and does whatever other things you need, and then call methods on it from c#.
If you're going to try to host UI stuff, then something like jnbridge would probably be useful instead of trying to roll all that yourself.
If you do it like John Gardner says, here's a good example of using JNI_CreateJavaVM
.