all groups > vj# > may 2005 >
You're in the

vj#

group:

System.getProperty() in J#


System.getProperty() in J# Dmitriy R via .NET 247
5/24/2005 7:58:23 PM
vj#: (Type your message here)

--------------------------------
From: Dmitriy R

I am writing some code, which is supposed to be portable between=
Java and J#=2E I was trying to use system properties in J#=2E In=
Java you can pass custom values to your JVM via system=
properties - you can retrieve these values in Java code using=
System=2EgetProperty() method=2E I was planning to use the same=
mechanism in J# and my assumption was that it would probably=
take values from environment variables=2E But so far I could not=
make it work=2E I can retrieve predefined values via this=
mechanism but I could not pass custom values=2E Does anybody know=
how this mechanism is supposed to work in J#? Can it be used to=
retrieve custom values? Thanks, Dmitriy

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

Re: System.getProperty() in J# gopikrishnam NO[at]SPAM gmail.com
6/20/2005 10:50:06 PM
To set custom values you will need to use System.setProperty() method
passing the property table.

Gopi Krishna[MSFT]
AddThis Social Bookmark Button