Help for this page

Select Code to Download


  1. or download this
    $ perl -c lari.pl
    lari.pl syntax OK
        (in cleanup) In method DESTROY of class main::org::apache::log4j::
    +Logger: Can't find object 0 for thread IJST-#0 at /home/alex/perl5/li
    +b/perl5/x86_64-linux-gnu-thread-multi/Inline/Java/Object.pm line 357 
    +at lari.pl line 0
    ...
        (in cleanup) Unknown Java object reference main::org::apache::log4
    +j::Logger=HASH(0x17d88c0) at lari.pl line 0
    
  2. or download this
    # 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:postgre
    +sql8jdbc3.jar";                
    ...
                                'org.apache.log4j.Logger',
                                ],
               AUTOSTUDY => 1;