Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
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.

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.

In reply to Java module by parthi7

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (4)
    As of 2015-07-06 03:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (70 votes), past polls