# set the java classpath (it is assumed that the jars are in the same folder as this script) BEGIN { $ENV{CLASSPATH} .= ":.:lari_typecheck.jar:log4j-1.2.14.jar:postgresql8jdbc3.jar"; } # use Inline::Java and tell it to study the classes that will be used use Inline Java => 'STUDY', STUDY => ['lari_typecheck.ArchiveObject', 'org.apache.log4j.Logger', ], AUTOSTUDY => 1;