Pass LUCENE_ROOT as a parameter.