Documentation Contents
Contents | Previous | Next Java Management Extensions (JMX) Technology Tutorial

Chapter   1

Getting Started

This chapter explains what you need to do to get started with the Java Management Extensions (JMX) examples. It provides instructions that apply to all the examples described in the subsequent chapters.

Platform Information

All variable assignments and commands in the examples in this tutorial were defined using UNIX Korn shell syntax. If you are running a shell other than the Korn shell on a UNIX or Linux platform, you must adapt these commands to your preferred shell environment.

If you are running a Microsoft Windows operating environment, in the majority of cases, adapting commands will simply involve replacing forward slashes (/) with backward slashes (\) and replacing colons (:) with semi-colons (;) in the paths. A specific Microsoft Windows command is given only when it differs significantly from the UNIX/Linux command provided.

Examples Directory

The examples that form the basis of this tutorial are all accessible from the JMX page in the Java Platform, Standard Edition (Java SE) documentation bundle, found in the following location:

Java Management Extensions (JMX) Examples

The code excerpts quoted in this tutorial are taken from these example programs. However, some code excerpts might be rearranged and comments might be changed. Program listings in the tutorial usually simplify comments and omit output statements, for space considerations. Some classes or sections of code that deserve special attention have been highlighted using bold text for the purposes of this tutorial.

Working Directory

To preserve untouched copies of the original example files, create a new directory in which to compile and run the examples.

  1. Create a new working directory.

    This working directory is referred to as work_dir throughout this tutorial.

  2. Download the examples ZIP bundle from the following URL:

    Downloadable JMX Examples

  3. Unzip all the examples into work_dir.

All the examples will now be contained in work_dir/jmx_examples.


Contents | Previous | Next


Oracle and/or its affiliates Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
Contact Us