aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting Runtime properties ....
 
Similar Threads
Properties File Error java.util.Resource Bundle. throw Missing Resource Exception
scope of properties
Migration from WSAD4 to 5.1
Passing runtime parameters to EJB
Ant+JUnit