Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #3299

Re: Where are Java System Properties stored?

Newsgroups comp.lang.java.help
Date 2015-04-21 00:52 -0700
References <badfak$bgs$1@zcars0v6.ca.nortel.com> <8qrlcvgc8gjjd8bssb737dml87oitov4ih@4ax.com>
Message-ID <d93b7dfe-6203-4124-bb1b-ecea77a7ae9e@googlegroups.com> (permalink)
Subject Re: Where are Java System Properties stored?
From khushankkashyap9@gmail.com

Show all headers | View raw


On Wednesday, May 21, 2003 at 8:45:50 AM UTC+5:30, Roedy Green wrote:
> On Tue, 20 May 2003 10:50:41 -0400, "Jiong Tang"
> <jiongt@nortelnetworks.com> wrote or quoted :
> 
> >It gives me a quite long list. But I am wondering where do they come from?
> >Are they stored somewhere in a file and etc?
> 
> They are not stored.  They are generated by a native method.
> 
> --
> Canadian Mind Products, Roedy Green.
> Coaching, problem solving, economical contract programming. 
> See http://mindprod.com/iraq.html for links about the Iraq war.

Hi,
For the above query i wanted to know whether i can access the system property explicitly through following code:
Properties p = System.getProperties();
		p.put("check_value", "true");
		System.setProperties(p);

now the property is returning null when i access it in different process/application with 
System.getProperty("check_value").

is there any way by which we can set the system property which is accessible to all the processes

Back to comp.lang.java.help | Previous | NextNext in thread | Find similar


Thread

Re: Where are Java System Properties stored? khushankkashyap9@gmail.com - 2015-04-21 00:52 -0700
  Re: Where are Java System Properties stored? Joerg Meier <joergmmeier@arcor.de> - 2015-04-21 12:12 +0200

csiph-web