=pod =head1 EXPORTS =over 4 =cut use lib '/usr/local/lib'; use Zelea::Java (); # see http://reluk.ca/system/host/havoc/usr/local/lib/perl5/Zelea/Java.pm =pod =item B The Java home directory, without a trailing '/'. Equivalent to the runtime system property 'java.home'. =cut sub home_dir() { return '/opt/jdk1.8/jre'; } # e.g. '/opt/jdk/jre' =pod =item B The directory in which the development kit is installed, without a trailing '/'. =cut sub JDK_dir() { return '/opt/jdk1.8'; } # e.g. '/opt/jdk' =pod =item B The major 'developer version' of Java. For example, '1.7' or '1.8'. =cut sub major_version() { return '1.8'; } =pod =item B The product version of Java. For example, '7' or '8'. =cut sub product_version() { return '8'; } =pod =back =cut 1;