RE: Java 1.4

[email protected] (Chad Kulesa) Tue, 14 May 2002 14:14:24 -0500
Newsgroups perl.jpl
Message-ID <2C15A9B5B08CD511A9B40050046C0CDF1EEF62@spedi-exchange>
------_=_NextPart_001_01C1FB7B.8F3C7DE0
Content-Type: text/plain;
	charset="iso-8859-1"

>> I've noticed that JPL has stopped working with java 1.4 (it appears the
JNI
>> interface has changed some). I have modified JNI.xs to work with java1.4.
I
>> am wondering if someone is already working on this, of if I should submit
a
>> patch.
>
>> I'm running:
>> Win 2K
>> Active State Perl 5.6.1 build 631
>> sun JDK 1.4
>
>
>Some time ago, Jarkko Hietaniemi re-worked a patch sumitted to 
>perl-porters that enabled JPL to work with 1.3 so you might have 
>luck sending to p5p. 
>
>[ Interesting - JPL is still working with 1.4 here... on Unix though ]
>
>Rgds,
>--
>Charles DeRykus

I just checked it on Solaris, and it worked with 1.4. I'm getting a return
code of -3 from JNI_CreateJavaVM, which is a version error. Sun probably
didn't want to put in the effort to have JNI be backwards compatible on
windows.

I'll try p5p.

Thanks

------_=_NextPart_001_01C1FB7B.8F3C7DE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: Java 1.4</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&gt;&gt; I've noticed that JPL has stopped working =
with java 1.4 (it appears the JNI</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; interface has changed some). I have =
modified JNI.xs to work with java1.4. I</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; am wondering if someone is already working =
on this, of if I should submit a</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; patch.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; I'm running:</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Win 2K</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Active State Perl 5.6.1 build 631</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; sun JDK 1.4</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Some time ago, Jarkko Hietaniemi re-worked a =
patch sumitted to </FONT>
<BR><FONT SIZE=3D2>&gt;perl-porters that enabled JPL to work with 1.3 =
so you might have </FONT>
<BR><FONT SIZE=3D2>&gt;luck sending to p5p. </FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;[ Interesting - JPL is still working with 1.4 =
here... on Unix though ]</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;Rgds,</FONT>
<BR><FONT SIZE=3D2>&gt;--</FONT>
<BR><FONT SIZE=3D2>&gt;Charles DeRykus</FONT>
</P>

<P><FONT SIZE=3D2>I just checked it on Solaris, and it worked with 1.4. =
I'm getting a return code of -3 from JNI_CreateJavaVM, which is a =
version error. Sun probably didn't want to put in the effort to have =
JNI be backwards compatible on windows.</FONT></P>

<P><FONT SIZE=3D2>I'll try p5p.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1FB7B.8F3C7DE0--