Hi. I'm trying to call a Perl function whenever someone clicks on a button in Java. Here's the example code:
http://2shortplanks.com/temp/inline_java_test.pl.txt I'm getting a java.lang.UnsatisfiedLinkError 'jni_callback'. This only happens from within the actionPerformed method (it works fine if I try calling the same thing in the constructor,) so I'm guessing it's a problem with calling back from a seperate thread? I first tried this with the jni version, and then I reinstalled Inline::Java to use the client-server module by answering 'no' in Makefile.PL and make installing. No joy there either. Mark. P.S. If it helps, here's all the boring little details java.lang.UnsatisfiedLinkError: jni_callback http://2shortplanks.com/temp/inline_java_error_full.txt perl 5.8.1 (debian's unstable) http://2shortplanks.com/temp/current_perl_V_linux_laptop.txt $ perl -MInline -e 'print $Inline::VERSION'; 0.44-TRIAL7 $ perl -MInline::Java -e 'print $Inline::Java::VERSION'; 0.43 $ java -version java version "1.4.0_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-b04) Java HotSpot(TM) Client VM (build 1.4.0_03-b04, mixed mode) -- #!/usr/bin/perl -T use strict; use warnings; print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};