Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Java module

by Plankton (Vicar)
on Feb 17, 2013 at 01:48 UTC ( #1019092=note: print w/replies, xml ) Need Help??

in reply to Java module

I noticed this in the output you posted:
WARNING: You cannot run these tests unless JavaServer is running! Do you want to continue? (Y/n) Y
Maybe you should have answered 'n', unless of course the JavaServer is running. Is the JavaServer running? What is a JavaServer?

Replies are listed 'Best First'.
Re^2: Java module
by parthi7 (Initiate) on Feb 17, 2013 at 05:33 UTC
    Hi Plankton

    I am afraid that without running the tests, we cannot get the module installed.
    Also, as per the 1st reply from tobyink, I am trying Inline::Java and there also I encounter error.
    Please see my reply to tobyink.

    Thanks and regards
      I noticed this in the output you posted:
      You can set the JAVA_HOME environment variable to specify your Java 2 SDK installation directory. For example, if you are using the CPAN installer you can do: JAVA_HOME=/path/to/your/j2sdk/installation cpan Inline::Java
      ... did you happen run cpan as it discusses. Looks like you executed:
      $sudo cpan Inline::Java
      But the message you got says you should do something like:
      $ sudo JAVA_HOME=/path/to/your/j2sdk/installation cpan Inline::Java


        I would remove "cpan" from the equation and run Makefile.PL ... directly

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019092]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2018-06-22 23:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.