This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes persistent system variable creation... 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 "persistent system variable creation..." Watch "persistent system variable creation..." New topic
Author

persistent system variable creation...

sunil kumre
Ranch Hand

Joined: Dec 23, 2000
Posts: 64
Hello,
I have a requierement wherein I've to create a persistent system variable using java.Does anyone know how to go about doing this?
Thanks in advance.
Sunil
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
The easiest way to persist a variable is probably to use a property file (java.util.Properties).
Can you please provide more informations about the context and the requirements?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: persistent system variable creation...
 
Similar Threads
Method Local inner class
Atomicity and Isolable
How to set the System variable on WINDOWS and UNIX?
how to set class path
interface - transient variable