Most Wise Monks -
I am maintaining some CGI code that uses the Inline-Java module. We are running ActiveState Perl on Windows and we are upgrading from Windows2003 to Windows2012. We installed ActivePerl5.22 and all the modules that the code requires. I testing and getting these error messages:
Can't find running JVM and START_JVM = 0 at C:/Perl64/site/lib/Inline/Java.pm line 478.
BEGIN failed--compilation aborted at /wwwroot/ELS_Applications/cgi-bin/fin_reg_el/rel2/FR_jdbc_perl_facade.pm line 21.
Here is line 478 of Java.pm:
$JVM = new Inline::Java::JVM($o);
Java is running:
C:\glassfish4\jdk7\lib>java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
Do you have any suggestions as to how I can debug this?
- Dorian Winterfeld
dorian.winterfeld@gmail.com
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, details, 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, summary, 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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.