[pylucene-dev] Re: building JCC on Windows with MinGW
vajda at osafoundation.org
Wed Mar 19 18:52:12 PDT 2008
On Wed, 19 Mar 2008, Bill Janssen wrote:
> I've decided to get myself into more trouble by attempting to build
> JCC on Windows XP with MinGW (gcc 3.4.5, I believe).
Why not use the MSVC compiler ?
There even is a free (as in $) one.
> I needed to patch the JCC sources a bit (I attach the patch below).
> Now I'm running into trouble loading jcc in python, because it can't
> find the JVM dll:
> from _jcc import initVM
> ImportError: DLL load failed: The specified module could not be found.
> If I attempt to use jcc to compile Lucene, I get the pop-up box
> saying, "This application has failed to start because jvm.dll was not
> found. Re-installing the application may fix this problem."
> Any ideas on how to defeat this?
Add the directories containing the required DLLs to the PATH env variable.
More information about the pylucene-dev