Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #3300
| Newsgroups | comp.lang.java.help |
|---|---|
| Date | 2015-04-21 00:54 -0700 |
| Message-ID | <1b5996c9-d353-4e1b-b822-f86288ecd7a3@googlegroups.com> (permalink) |
| Subject | Accessing system property in different processes. |
| From | khushank kashyap <khushankkashyap9@gmail.com> |
Hi,
i wanted to know whether i can access the system property in different process if i explicitly add a system property 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 | Next | Find similar
Accessing system property in different processes. khushank kashyap <khushankkashyap9@gmail.com> - 2015-04-21 00:54 -0700
csiph-web