Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I want to install Inline::Java, to embed perl code in java projects.
So I downloaded it and tried to install:
>perl 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 +DK 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 +ine (JVM) to be dynamically linked with Perl instead of running as a separ +ate process. The use of this extension is optional, and building it still allows Inline::Java to run the JVM in the default (separate process) fashion. Note: You need a C compiler to build the extension. Do you wish to build the JNI extension? [y] y Building JNI extension. Building with: C:\Java\jdk1.6.0_26\include\jni.h C:\Java\jdk1.6.0_26\include\win32\jni_md.h C:\Java\jdk1.6.0_26\lib\jvm.lib C:\Java\jdk1.6.0_26\jre\bin\server\jvm.dll Note: In order for Inline::Java to use the JNI extension, you will nee +d to use the JNI configuration option or set the PERL_INLINE_JAVA_JNI envir +onment variable to a true value. You will also need to add the following dire +ctories to your PATH environment variable: C:\Java\jdk1.6.0_26\jre\bin C:\Java\jdk1.6.0_26\jre\bin\server See README.JNI for more information. The PerlInterpreter extension allows Inline::Java to be loaded directl +y from Java using an embedded Perl interpreter. It is still EXPERIMENTAL and may not build or work properly on all platforms. See documentation for more details. 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 % nmake test % nmake install >nmake 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 +asses Java \sources\org\perl\inline\java\*.java 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 "C:\Java\jdk1.6.0_26\bin\jar.exe" cf Java\InlineJavaUser.jar - +C Java\cla sses InlineJavaUserClassLink.class 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 +code '0xff ' Stop.


Inline::Java installed, thanks to ALL! =)

Used dmake instead of nmake ;)

In reply to Inline::Java install on Windows (nmake problem) by Lion-Tiger

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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:
    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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    Jar. Jar!...

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (3)
    As of 2018-05-21 03:52 GMT
    Find Nodes?
      Voting Booth?