use setter/getter instead of system property; catch security exception so Lucene can be used inside an applet