Article View: borland.public.jbuilder.java.language
Article #8738jni in 1.1 and 1.2+
From: Janne Johansson
Date: Thu, 01 Mar 2001 08:53
Date: Thu, 01 Mar 2001 08:53
15 lines
1476 bytes
1476 bytes
Hi, I got the answer my self. So if you wish to run DLL in java 1.1 program you have to compile the DLL using 1.1 include files (jni.h). If you wish to use the DLL in 1.2 or greater you have to compile the DLL using the correct version of the jni.h and jni_md.h files (provided in the JDK you are using). Still there is a broblem: Now my application can use the DLL (running jdk1.1.8). When I want to run it with JRE1.1.8 it does not work!! So there is a missmatch between JDK and JRE 1.1.8. Or is there? Rgs, Janne Johansson
Technical Details
Message-ID:
<3A9E0DEE.51AAE836@datex-ohmeda.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!bornews.borland.com!dnews!194.9.254.14Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,898908e753845203,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-01 01:18:25 PST Message-ID: <3A9E0DEE.51AAE836@datex-ohmeda.com> Date: Thu, 01 Mar 2001 10:53:02 +0200 From: Janne Johansson <janne.johansson@datex-ohmeda.com> X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: jni in 1.1 and 1.2+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.9.254.14 X-Trace: 1 Mar 2001 00:52:43 -0800, 194.9.254.14 Lines: 16 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!bornews.borland.com!dnews!194.9.254.14