lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: solrconfig environment variable
Date Tue, 23 May 2006 22:00:37 GMT
On 5/23/06, maustin75 <> wrote:
> does the System.getProperty function read from the environment variables

Unfortunately not... Java doesn't have a way to read environment
variables AFAIK (omitted in the name of portability).
The easiest way to set a system property is on the command line when
starting the JVM.

java -Dsolr.solr.home=/myhome/solr -jar start.jar


View raw message