Specifications

Sun Services
Java™ Programming Language
Module 9, slide 6 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
System Properties
System properties are a feature that replaces the
concept of environment variables (which are
platform-specific).
The System.getProperties method returns a
Properties object.
The getProperty method returns a String
representing the value of the named property.
Use the -D option to include a new property.