Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 <>) 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 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 blib/lib/ cp blib/lib/ cp blib/lib/ cp blib/script/ /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/java 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" 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 line 21 (in cleanup) Can't call method "send_command_and_get_response" on +an undefined value at line 640, <STDIN> line 1. not ok 0 - is JavaServer on localhost running? Have you ran '' 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

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (5)
    As of 2018-05-22 18:08 GMT
    Find Nodes?
      Voting Booth?