Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
PyLucene, mail # dev - JCC crash when building


+
Petrus Hyvönen 2011-12-12, 12:20
+
Jason Ni 2011-12-14, 14:51
Copy link to this message
-
Re: JCC crash when building
Jason Ni 2011-12-15, 04:59
It's my fault. I didn't make jvm.dll available in the PATH environment.

-Jason

On 2011/12/14 22:51, Jason Ni wrote:
> Hi Petrus,
>
> Thanks. I tried build jcc in 32-bit WinXP using VS C++ 2008 express.
> But jcc can't run.  _jcc can't be imported. An "ImportError: DLL load
> failed" message prompted.  Same error also happens when I build jcc
> using MinGW.  What could be the cause?
>
> Best Regards,
> Jason
>
> On 2011/12/12 20:20, Petrus Hyv�nen wrote:
>> Hi Jason,
>>
>> I was using  visual studio c++ 2008 (express, or what the free version
>> was called). But note from my previous mails that I didn't get it to
>> work properly in the end when using the module - but I was compiling
>> on a 64-bit system, using a  32-bit python system (pythonxy). When
>> compiling on my 32/32 bit system and using in 64-bit, I have no
>> troubles.
>>
>> Regars
>> /Petrus
>>
>>
>> On Sun, Dec 11, 2011 at 3:52 AM, Jason Ni<[EMAIL PROTECTED]>  wrote:
>>> Hi Petrus,
>>>
>>> I also plan to compile JCC and use it in 64-bit win7. Could you
>>> please tell
>>> me what version of MS VC++ compiler do you use?
>>>
>>> Thanks.
>>>
>>> -Jason
>>>
>>>
>>> On 2011/9/9 14:59, Petrus Hyv�nen wrote:
>>>> Now I installed Microsoft Visual C++ compiler and JCC builds and works
>>>> fine
>>>> both with python 2.6, 2.7 in 64-bit win7.
>>>>
>>>> Many thanks
>>>> /Petrus
>>>>
>>>>
>>>> On Thu, Sep 8, 2011 at 10:35 PM, Bill Janssen<[EMAIL PROTECTED]>    
>>>> wrote:
>>>>
>>>>> Petrus Hyv�nen<[EMAIL PROTECTED]>    wrote:
>>>>>
>>>>>> Thanks, I tried now to uninstall Java 7 completely, and recompile
>>>>>> JCC,
>>>>> same
>>>>>> problem.
>>>>>>
>>>>>> I should maybe mention that I'm on 64-bit Windows 7, and a 32 bit
>>>>>> python
>>>>>> (python xy)
>>>>> I've done a fair amount of building PyLucene with mingw, and I
>>>>> have been
>>>>> unable to make that particular combination work, myself.  I think you
>>>>> need to re-build Python as 64-bit, to make progress here.
>>>>>
>>>>> Bill
>>>>>
>>>>
>>
>>
>> --
>> _____________________________________________
>> Petrus Hyv�nen, Uppsala, Sweden
>> Mobile Phone/SMS:+46 73 803 19 00
>>
>>
>