2. Interacting with the EnvironmentThis chapter provides phrases that help you interact with the runtime environment which your Java application is executing in. Many of the phrases in this chapter make use of the Java System object. The System object is a core Java object intended for interacting with the environment surrounding your Java application. You should take special caution when using this object and in general when interacting with the environment, for if you are not careful, this can lead to platform dependent code. This is because the System object interacts with the environment, which may be different depending on the platform you are working on. So the results of using a System method or property on one platform may not be consistent across all platforms. |