Home: Perl Programming Help: Advanced:
Java.pm



Jakob
stranger

Aug 13, 2001, 4:58 AM


Views: 1592
Java.pm

Hi,

Does anyone use Java.pm? It is a module that allows you to access a Java Virtual Machine from Perl. Unfortunately I can't seem to get it to work on my machine. There is a JavaServer, that does seem to work, and a test.pl for the client, that exits with an error:

[root@grt-ws04 Java-4.1]# perl test.pl
1..33
WARNING: You cannot run these tests unless JavaServer is running!
Do you want to continue? (Y/n)
ok 1
Create array.
Can't call method "print" on an undefined value at Java.pm line 334, <GEN0> line 1.

The java version is 1.3.1, the OS is Redhat 6.2, perl is version 5.6.1, and Java.pm is version 4.1. I have tried several things, but nothing works. Who can help?

Cheers,
Jakob