[pylucene-dev] finding the JVM DLL on Windows...
janssen at parc.com
Sun Apr 27 09:07:07 PDT 2008
> We are distributing Java as a subcomponent (a subfolder next to the
> embedded Python) under Windows, and we modify the PATH variable with
> sitecustomize.py to point to this jvm.dll. So this would collide with our
I believe that it would actually not collide with your solution, Dirk.
It appends the value found in the registry (if any) to the end of the
PATH, so any value previously put on the PATH by sitecustomize.py (or
by Andi's hypothetical __init__.py code that runs before the "lucene"
module is loaded), would take precedence, and the registry value would
not actually be used -- your custom Java would still be used. The
code I suggest would just be the "last-ditch" solution.
More information about the pylucene-dev