C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How can we Set a system property by using java program?

0 votes
103 views
asked May 13, 2014 by rock Expert (14,990 points)

1 Answer

0 votes
public class Main {
  public static void main(String[] argv) throws Exception {
    String previousValue = System.setProperty("application.property", "newValue");
  }
}
answered May 13, 2014 by smith Geek (15,340 points)

Related questions

0 votes
1 answer 97 views
97 views asked May 13, 2014 by smith Geek (15,340 points)
0 votes
1 answer 35 views
35 views asked Feb 18, 2014 by john Guru (27,140 points)
+1 vote
1 answer 16 views
0 votes
1 answer 81 views
+1 vote
1 answer 20 views
20 views asked Feb 6, 2014 by keem Expert (13,240 points)
...