: does the System.getProperty function read from the environment variables
System.getProperty only loads java sysntem properties, which are usually set using the -D command line option on the java command line There may be some Java Runtime Environments that load OS environment variables for you, but i don't know of any. An easy way to tell if your JRE is contains the variable you want (so that Solr can see it) is too start up solar, and then click the "Java Properties" link on the admin page... http://localhost:8983/solr/admin/get-properties.jsp ...if solr.solr.home isn't listed on that page, then Solr can't see it. -Hoss