I don't the JVM knows how to expand OS environment variables. Have you seen
that it can? I would expect it to take that argument as a literal string like
it did.
Scott Stirling
Allaire
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 12, 2000 7:14 AM
> To: [EMAIL PROTECTED]
> Subject: Passing environment variables
>
>
> Hello all,
>
> I am facing a problem with passing environment variables to the JVM through
> the JMC of JRun3.0 on HP-UX 11.xx.
>
> I added the following in JRun Default Server --> Java Settings --> Java
> Arguments
> section.
>
> -DCONF_PATH=$CONF_PATH
>
> When I am accessing CONF_PATH from my servlet using
>
> System.getProperty("CONF_PATH")
>
> the value I get is $CONF_PATH, but not the value of the CONF_PATH variable.
> Please let me know if there is any workaround for this.
>
> Thanks,
> Suresh
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.