This content has been marked as final. Show 3 replies
Forget about the jvm.dll for the moment. Find documentation that explains how to statically link a DLL, any DLL. I think you won't find one. You can statically link a library (.lib), not a DLL.
Then my question is, how do I statically link with jvm.lib? It's already in my project that requires the dll at run time, without it there are unresolved externals.
889051 wrote:1. Get the VM source code
Then my question is, how do I statically link with jvm.lib?
2. Modify the code so it represents a static library.
3. Modify the build so it creates a static library.
4. Build it
5. Use it in your code.
I course I wonder why you think this is necessary.
You do realize that you would still need to distribute the JDK jars right?