http://www.perlmonks.org?node_id=1019106


in reply to Re: Java module
in thread Java module

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

Replies are listed 'Best First'.
Re^3: Java module
by Plankton (Vicar) on Feb 17, 2013 at 06:27 UTC
    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

      sudo?

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