Perl内联::java模块
我试图在cpan中安装Inline::Java模块,但出现以下错误。请找个人帮忙。多谢各位Perl内联::java模块,java,perl,Java,Perl,我试图在cpan中安装Inline::Java模块,但出现以下错误。请找个人帮忙。多谢各位 Welcome to the Inline::Java installation procedure. A Java 2 SDK is required to install and use Inline::Java. Please specify your Java 2 SDK installation directory using the J2SDK option to Makefile.PL
Welcome to the Inline::Java installation procedure.
A Java 2 SDK is required to install and use Inline::Java. Please
specify your Java 2 SDK installation directory using the J2SDK
option to Makefile.PL as such:
perl Makefile.PL J2SDK=/path/to/your/j2sdk/installation
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
Warning: No success on command[/usr/bin/perl Makefile.PL]
'YAML' not installed, will not store persistent state
PATL/Inline-Java-0.53.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Failed during this command:
PATL/Inline-Java-0.53.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 256
我从来没有用过java。为了正确理解java,请介绍一下它。提前谢谢你。这帮了我的忙
http://www.cyberciti.biz/faq/centos-linux-6-install-java-sdk/
我能够运行示例java代码。谢谢。您使用的是什么操作系统?另外,如果您还没有使用Java,那么您对内联Java有何打算?Google for Java 2 SDK和从www.oracle.com/下载……它是centos 64位的。我试图通过perl包装器内联::java运行java代码