Re: solrconfig environment variable

2006-05-23 Thread Chris Hostetter
: hehe.. I did think that was a typo. : Sorry to underestimate your typing abilities :) I think you have Yonik confused with me :) -Hoss

Re: solrconfig environment variable

2006-05-23 Thread maustin75
hehe.. I did think that was a typo. Sorry to underestimate your typing abilities :) - Original Message - From: "Yonik Seeley" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 23, 2006 5:24 PM Subject: Re: solrconfig environment variable On 5/23/06, maustin75 <[EMAIL PROTECTED]> wrote: Ahh

Re: solrconfig environment variable

2006-05-23 Thread Yonik Seeley
On 5/23/06, maustin75 <[EMAIL PROTECTED]> wrote: Ahh.. ok.. "java -D solr.solr.home=/myhome/solr -jar start.jar" - That will work. It won't if you put a space after the -D ;-) java -Dsolr.solr.home=/myhome/solr -jar start.jar -Yonik

Re: solrconfig environment variable

2006-05-23 Thread maustin75
Ahh.. ok.. "java -D solr.solr.home=/myhome/solr -jar start.jar" - That will work. Thanks Chris and Yonik. - Original Message - From: "Chris Hostetter" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 23, 2006 5:01 PM Subject: Re: solrconfig environment variable : does the System.getProp

Re: solrconfig environment variable

2006-05-23 Thread Chris Hostetter
: 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

Re: solrconfig environment variable

2006-05-23 Thread Yonik Seeley
On 5/23/06, maustin75 <[EMAIL PROTECTED]> 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 com

solrconfig environment variable

2006-05-23 Thread maustin75
I'm having problems retrieving my system variables to set the default solrconfig directory. This function returns "solr/" when the instance variable is "solr" and my environment/system variables include solr.solr.home = "c:\." This is on WinXP. I tried rebooting. does the System.getProperty