On Thu, 31 Jul 2008, Bill Janssen wrote:
Out of curiosity, what did you end up doing to work around this issue ?
I just tried adding
add_option("-Djava.awt.headless=", "true", &vm_options[nOptions++]);
in jcc/jcc/jcc/sources/jcc.cpp, where you call JMI_CreateJavaVM().
Seems to fix my problem on Apple. Any reason not to add this
permanently? Is this code run by the generated wrappers, as well as
by JCC?
Great, that fixes it then.
The right place to put this is in cpp.py, not in jcc.cpp.
In cpp.py, it only affects JCC itself (see my previous reply).
I should have this checked-in in a bit.
Andi..
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev