File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Setting Runtime properties ....
 
Similar Threads
Passing runtime parameters to EJB
Properties File Error java.util.Resource Bundle. throw Missing Resource Exception
scope of properties
Ant+JUnit
Migration from WSAD4 to 5.1