I want to install Inline::Java, to embed perl code in java projects.
So I downloaded it and tried to install:
>perl makefile.pl J2SDK="c:\Java\jdk1.6.0_26"
Welcome to the Inline::Java installation procedure.
Default J2SDK for Inline::Java will be 'c:\Java\jdk1.6.0_26'.
See module documentation for information on how to use a different J2S
or change this default value.
Warning: prerequisite Inline 0.44 not found.
Inline::Java can use a JNI extension that allows the Java Virtual Mach
(JVM) to be dynamically linked with Perl instead of running as a separ
process. The use of this extension is optional, and building it still
allows Inline::Java to run the JVM in the default (separate process)
Note: You need a C compiler to build the extension.
Do you wish to build the JNI extension? [y] y
Building JNI extension.
Note: In order for Inline::Java to use the JNI extension, you will nee
use the JNI configuration option or set the PERL_INLINE_JAVA_JNI envir
variable to a true value. You will also need to add the following dire
to your PATH environment variable:
See README.JNI for more information.
The PerlInterpreter extension allows Inline::Java to be loaded directl
Java using an embedded Perl interpreter. It is still EXPERIMENTAL and
may not build or work properly on all platforms. See documentation for
Do you wish to build the PerlInterpreter extension? [n] n
Note (probably harmless): No library found for -ljvm
Writing Makefile for Inline::Java::JNI
Writing Makefile for Inline::Java
You can continue the installation with the following commands:
% nmake test
% nmake install
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Java\jdk1.6.0_26\bin\javac.exe" -deprecation -g -d Java\cl
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
"C:\Java\jdk1.6.0_26\bin\jar.exe" cf Java\InlineJavaServer.jar
+ -C Java\c
lasses org -C Java\classes InlineJava.properties
"C:\Java\jdk1.6.0_26\bin\jar.exe" cf Java\InlineJavaUser.jar -
syntax error at -e line 1, next char )
Missing right curly or square bracket at -e line 1, at end of line
Execution of -e aborted due to compilation errors.
NMAKE : fatal error U1077: 'C:\strawberry\perl\bin\perl.exe' : return
Inline::Java installed, thanks to ALL! =)
Used dmake instead of nmake ;)
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||