If you are using Maven, please don't worry about the
dependencies which just have been downloaded manually for the
sake of demonstration. Jolokia's Java client library comes
with a well defined dependency set, so Maven will do the
magic. (In fact, the client library only depends on
jsons-simple and http-components directly)

Install Jmx4Perl

The five minutes are probably over now, but I highly
recommend to install jmx4perl right
now. Beside providing a Perl language binding for Jolokia,
there are some cool command line tools included which are
useful on their own.

jmx4perl is a command for exploring the
JMX space by providing arguments on the command line.

j4psh is a readline based, colored,
interactive shell with context sensitive command
completion on MBean names and attributes/operations. It
is a perfect tool for interactively exploring MBeans and
their values.

check_jmx4perl is a feature reach Nagios
plugin for connecting the Jolokia agent with Nagios.

jolokia is a supporting script for easy
download and configuration of the Jolokia agents.

jmx4perl (and its dependencies) can be easily
installed with cpan if you have Perl installed:

You will be asked for each featured script whether it should
be installed in addition to the core Perl modules. Each of
these scripts (jmx4perl, j4psh, jolokia, check_jmx4perl) will
introduce a set of new depedencies of Perl modules which in
turn might depend on other Perl modules or system
libraries. Perl modules are resolved and installed
automatically. The agent management script
jolokia depends on XML::LibXML
which requires a development version of libxml
installed locally. It is recommended to install
libxml2-dev with the package management tool of
your OS (e.g. apt-get install libxml2-dev
). Alternatively, the OS package for XML::LibXML could be
used. (e.g. libxml-libxml-perl for
Ubuntu)

Next, I recommend to try out j4psh. For
getting the best readline experience, it is recommended to
also install Term::ReadLine::Gnu (which in turn
requires the package libreadline-dev to be
installed), but this is optional. Now, fire up j4psh and let
the fun begin:

Don't forget to try out TAB triggered command and argument
completion as demonstrated in this screencast.

Summary

That's all for now, I hope you enjoyed this first ride. For
the next steps I recommend to have a look into reference manual.