List Info

Thread: solrconfig environment variable




solrconfig environment variable
user name
2006-05-23 22:01:38
: 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...

	h
ttp://localhost:8983/solr/admin/get-properties.jsp

...if solr.solr.home isn't listed on that page, then Solr
can't see it.



-Hoss

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )