Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Setting Runtime properties .... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Setting Runtime properties ...." Watch "Setting Runtime properties ...." New topic
Author

Setting Runtime properties ....

Gabriel Fox
Ranch Hand

Joined: Oct 17, 2001
Posts: 170
Hi Guys , i am using JDK 1.3.1 , how do i define system runtime properties .
All ideas are welcomed...
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
What do you mean with "system runtime properties"?
System.getProperties??


Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

or do you mean -D<name>=<value> witch set a system property
and you can get it in your code by calling System.getProperty()
Rene


Regards, Rene Larsen
Dropbox Invite
 
wood burning stoves
 
subject: Setting Runtime properties ....