The Java API exposes functionality to store persistent system properties with the Properties class. These properties can also be retrieved.
A Java development environment, such as a Java compiler (javac), Java runtime enviornment (JRE/java), and a text editor.
Java system properties (new or existing) are set and retrieved as Strings. The Properties class extends Hashtable, but Hashtable methods such as put and putAll are discouraged because of their type-vulnerability.
The Properties class is located at:
You can instantiate it with:
Properties prop = System.getProperties();
if the Properties class had been imported with the import statement. Then, you can set properties with: