=pod =head1 EXPORTS =over 4 =cut use lib '/usr/local/lib'; use Zelea::Java (); =pod =item B Returns the Java home directory. Equivalent to the runtime system property 'java.home'. =cut sub home_dir() { return Zelea::Java::get_JRE_dir(); } # e.g. /opt/jdk/jre =pod =item B Returns the directory to which compiled javadoc files are output. =cut sub javadoc_outdir() { return '/home/mike/var/cache/textbender-javadoc'; } =pod =item B Returns the directory in which the development kit is installed. =cut sub JDK_dir() { return Zelea::Java::get_JDK_dir(); } # e.g. /opt/jdk =pod =item B Returns the major 'developer version' of Java. For example, 1.5 or 1.6. =cut sub major_version() { return Zelea::Java::get_major_version(); } =pod =item B Returns the product version of Java. For example, 5 or 6. =cut sub product_version() { return Zelea::Java::get_product_version(); } =pod =back =cut 1;