PLJava need help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I am using PLJava module on Windows 2k. The module compiled and test
program works okay.

I tried following code which does not run and it crashes.

import perl5.Perl ;
import perl5.SV ;

public class testsub {

    public static void main(String argv[]) {

       Perl.eval("print qq`Hello World!\n` ;") ;


       SV foo = Perl.NEW("foo") ; // $foo = new foo() ;"test", "123,456") ;  // $foo->test(123,456) ;

There is separate file in same path where java class file is
located, which is not found by above testsub program. looks as
package foo;

sub new {

sub test {
   print  print qq`FOO>> @_\n`

   print  qq`DEST>> @_\n` ;

Any ideas why this fails? Thanks in advance.
Harris M.

Site Timeline