On Fri, 11 Jul 2008, Dirk Rothe wrote:
exists a possibility to get the used Java VM Version from Pylucene/JCC?
getVMEnv() seems not be the right choice...
Yes, ask the VM:
>>> import lucene
>>> lucene.initVM(lucene.CLASSPATH)
>>> lucene.System.getProperty('java.version')
u'1.5.0_13'
See the javadocs for Java's java.lang.System class for more info, notably
its getProperties() method for a description of the typical system
properties.
Andi..
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev