parthi7 has asked for the wisdom of the Perl Monks concerning the following question:
Hi All
I want to access Java libraries from Perl.
So, I tried to install Java
But I got some error.
I googled to find no good solution.
So, I am trying here.
Following shows the installation command and error logs.
Please help me.
Thanks and regards.
So, I tried to install Java
But I got some error.
I googled to find no good solution.
So, I am trying here.
Following shows the installation command and error logs.
cpan[2]> i Java Module id = Java DESCRIPTION A Perl front-end for JVM communication CPAN_USERID METZZO (Mark Ethan Trostler <mark@zzo.com>) CPAN_VERSION 4.7 CPAN_FILE M/ME/METZZO/Java-4.7.tar.gz UPLOAD_DATE 2004-02-25 DSLIP_STATUS RdhOl (released,developer,hybrid,object-oriented,LGPL +) INST_FILE (not installed) + + cpan[3]> install Java Running install for module 'Java' Running make for M/ME/METZZO/Java-4.7.tar.gz Checksum for /home/parthiban/.local/share/.cpan/sources/authors/id/M/M +E/METZZO/Java-4.7.tar.gz ok Scanning cache /home/parthiban/.local/share/.cpan/build for sizes ...................................................................... +......DONE CPAN.pm: Building M/ME/METZZO/Java-4.7.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Java Writing MYMETA.yml and MYMETA.json cp Java.pm blib/lib/Java.pm cp JavaArray.pm blib/lib/JavaArray.pm cp java_server_install.pl blib/lib/java_server_install.pl cp java_server_install.pl blib/script/java_server_install.pl /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/java +_server_install.pl Manifying blib/man3/Java.3pm Manifying blib/man3/JavaArray.3pm METZZO/Java-4.7.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..33 WARNING: You cannot run these tests unless JavaServer is running! Do you want to continue? (Y/n) Y Client socket error: Connection refused at test.pl line 21 (in cleanup) Can't call method "send_command_and_get_response" on +an undefined value at Java.pm line 640, <STDIN> line 1. not ok 0 - is JavaServer on localhost running? Have you ran 'java_server_install.pl' yet? JavaServer must be running for these tests to function. make: *** [test_dynamic] Error 111 METZZO/Java-4.7.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports METZZO/Java-4.7.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: METZZO/Java-4.7.tar.gz : make_test NO
Please help me.
Thanks and regards.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Java module
by tobyink (Canon) on Feb 16, 2013 at 20:28 UTC | |
by parthi7 (Initiate) on Feb 16, 2013 at 22:09 UTC | |
Re: Java module
by Plankton (Vicar) on Feb 17, 2013 at 01:48 UTC | |
by parthi7 (Initiate) on Feb 17, 2013 at 05:33 UTC | |
by Plankton (Vicar) on Feb 17, 2013 at 06:27 UTC | |
by Anonymous Monk on Feb 17, 2013 at 08:02 UTC | |
Re: Java module
by Khen1950fx (Canon) on Feb 17, 2013 at 22:33 UTC | |
Re: Java module
by parthi7 (Initiate) on Feb 20, 2013 at 04:08 UTC | |
by Anonymous Monk on Jul 24, 2014 at 19:47 UTC |
Back to
Seekers of Perl Wisdom