in reply to Java module

Hi All

I got the module installed with the following command.
sudo JAVA_HOME=/usr/lib/jvm/default-jvm cpan Inline::Java
But still puzzled how the $JAVA_HOME environment variable is not recognized automatically.
Consider this thread as a closed one.

Thanks everyone for the help.

Replies are listed 'Best First'.
Re^2: Java module
by Anonymous Monk on Jul 24, 2014 at 19:47 UTC
    On centos 6.x I had to: change my path to: JAVA_HOME=/usr/java/default cpan Inline::Java