Chapter 14. The Platform Environment

AN application runs in a platform environment, defined by the underlying operating system, the Java virtual machine, the class libraries, and various configuration data supplied when the application is launched. This chapter describes some of the APIs an application uses to examine and configure its platform environment.

Configuration Utilities

This section describes some of the configuration utilities that help an application access its startup context.

Properties

Properties are configuration values managed as key/value pairs. In each pair, the key and value are both String[1] values. The key identifies, and is used to retrieve, the value, much as a variable name is used to retrieve the variable’s value. For example, ...

Get The Java™ Tutorial Fourth Edition: A Short Course on the Basics now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.