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 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.