: hehe.. I did think that was a typo.
: Sorry to underestimate your typing abilities :)
I think you have Yonik confused with me :)
-Hoss
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
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
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
: 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
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
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