> > Ah, good idea.  I wasn't sure if you could "load jvm.dll" from Python
> > without the WinPython extensions.
> 
> The problem with my earlier idea of rewriting this in C is that, in order to 
> invoke the C, I have to load it and for that the Path has to be correct 
> already.

How about using ctypes to test whether the library is already on the
PATH?  ctypes.LoadLibrary("jvm"), I believe.  2.5 only, but that's not
really as much of an issue on Windows as it is on OS X.

If it's not on the PATH, use my code to look in the registry and
upgrade the PATH.

Bill
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to