lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject trying to build PyLucene off Lucene's trunk
Date Tue, 03 Feb 2009 14:48:24 GMT

I'm trying build PyLucene off of Lucene's current trunk, on OS X

So I first did "ant package-tgz" in a clean Lucene checkout, to get a
tgz with all interesting JARS (side note: it'd be nice if JCC could
get the JARs out of the tgz or zip file).

Then I tried to run the example at but
hit a few initial challenges:

   * Where does extensions.jar come from?  (I'm trying to run jcc, and
     apparently I need to point it to extensions.jar).

   * I'm getting a cryptic error from JCC when it tries to init the
     JVM (I'm on OS X 10.5.6):

_NSJVMLoadLibrary: NSAddLibrary failed for /System/Library/Frameworks/ 
JavaVM FATAL: Failed to load the jvm library.

Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/", line 95, in run_module
     filename, loader, alter_sys)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/", line 52, in _run_module_code
     mod_name, mod_fname, mod_loader)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/", line 32, in _run_code
     exec code in run_globals
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/JCC-2.1-py2.5-macosx-10.3-i386.egg/jcc/", line 29, in <module>
     import jcc.__main__
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/JCC-2.1-py2.5-macosx-10.3-i386.egg/jcc/", line 5, in <module>
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/JCC-2.1-py2.5-macosx-10.3-i386.egg/jcc/", line 343, in jcc
ValueError: An error occurred while creating Java VM

     I'm using 1.6.0 Java VM.  Maybe I'm supposed to use 1.5?


View raw message