Open rpavlik opened 12 years ago
Do you think this would fix issue #4? If so, do you have suggestions on how to accomplish this? This would be setting PATH environment variables through Lua? I guess I'm still not sure how your SearchPath.h file fits into this.
SearchPath.h doesn't fit into this particular bug at all. Unfortunately "path" is just a very overloaded word. Yes, it might work.
You may be able to use this, though I'd prefer the environment variable route: http://msdn.microsoft.com/en-us/library/ms686203
another link from our friendly google. http://stackoverflow.com/questions/518228/is-it-possible-to-add-a-directory-to-dll-search-path-from-a-batch-file-or-cmd-sc
At runtime (when init is called), we should find the jre installation and the jvm file, and then add it to the PATH environment variable before calling Voce's init.