From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8eedc05e4d9967a5 X-Google-Attributes: gid103376,public X-Google-Thread: 113ae9,8eedc05e4d9967a5 X-Google-Attributes: gid113ae9,public From: Geoff Bull Subject: Re: JNI for ADA? Date: 1998/10/15 Message-ID: <3625E79B.CCDB515@acenet.com.au>#1/1 X-Deja-AN: 401330455 Content-Transfer-Encoding: 7bit References: <36236F85.4EBFB122@lmco.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 908453900 203.35.118.1 (Thu, 15 Oct 1998 22:18:20 EST) Organization: Telstra Big Pond Direct MIME-Version: 1.0 NNTP-Posting-Date: Thu, 15 Oct 1998 22:18:20 EST Newsgroups: comp.lang.ada,comp.lang.java.help Date: 1998-10-15T00:00:00+00:00 List-Id: Dave Brown wrote: > Hi, > > I was wondering if there was a version of JNI that would communicate > with Ada83 programs. > I found AdaJNI, but that is an expensive comercial package. Are there > any freeware versions out there? I dont need anything as fancy as AdaJNI > either, just a way to Java and Ada to pass objects. I would use and Orb, > but the project calls for JDK 1.1.5 :( > Please reply both to group and email > > thanks, > -Dave How much of JNI do you need? I have been working on this very thing, but only have a tiny bit done - enough to invoke a JVM, find a class and invoke a static method. I am also working on a binding to the Java library, (my real motivation is have all those API's available to Ada). and wanted to sort that out before I release my JNI code. (there is also zero doco). I was planning on GPL. Unfortuneately I don't have time to do more work on it until late November. Oh, I just realised you want Ada 83. My code is intended Ada 95 (as is AdaJNI). However the lowest level is just a wrapper around the JNI C interface, so you could probably replace all those pragma conventions with whatever your particular Ada 83 compiler requires for interfacing to C. Geoff Bull Murray Bull Information Technology Pty Ltd