Quantcast
Viewing all articles
Browse latest Browse all 80

RE: JPL (Java Perl Lingo) by Chad Kulesa

The problem is that with JDK1.4 for Windows, Sun didn't provide backwards
compatibility on JNI (Java Native Interface). The JPL code uses JNI from
JDK1.1. The only change that is needed is in how you initialize java through
JNI. I had some code working, but the project got shelved so I didn't get a
chance to stress test it (and since then I've deleted it as I thought no one
else was using JPL anymore). Here's some information on what you need to
change http://java.sun.com/j2se/1.4.1/docs/guide/jni/jni-12.html. Mainly
take a look at the Invocation API section. It explains the changes, and
shows the new way to invoke java. It's not that big of a change, I think it
took me a couple hours to changed it to my needs. The biggest piece is
actually providing backwards compatibility (which I had worked on, and was
testing).

Unfortunately, I don't have the time right now to write up an example. If
you run into problems, send me what you have, and I'll try to take a look at
it (no guarantee on the turn around time).

Just a couple other notes, the source for JPL is distributed with the perl
core source. If you need a c/c++ compiler for windows, you can download the
latest .net SDK from Microsoft. If you need to learn c/c++, well I can't
help you much there ;)

Chad

-----Original Message-----
From: Vuong Van [mailto:vanvc@yahoo.com]
Sent: Thursday, July 24, 2003 12:31 AM
To: ckulesa@spscommerce.com
Subject: JPL (Java Perl Lingo)


Hi Chad,

I'm looking for information on how to get JPL to work
on Windows 2000 with JDK1.4 and Perl 5.6, but it seems
like everything I've searched for is out-of-date!

The only thing I've got is your post on jpl@perl.org
:)

Can you help me by pointing in the right direction?
Thanks for your time.

Regards,
Van

http://personals.yahoo.com.au - Yahoo! Personals
- New people, new possibilities! Try Yahoo! Personals, FREE for a limited
period!

Viewing all articles
Browse latest Browse all 80

Trending Articles