This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Setting Runtime properties .... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Setting Runtime properties ....
 
Similar Threads
Properties File Error java.util.Resource Bundle. throw Missing Resource Exception
Migration from WSAD4 to 5.1
scope of properties
Ant+JUnit
Passing runtime parameters to EJB