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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f70f5d396358ad88 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!newspeer1-win.ntli.net!newsfe2-gui.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: Interfacing Ada code to Java - resources and hints User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: <877jk2426z.fsf@insalien.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 20 Mar 2005 18:55:28 GMT NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: http://www.ntlworld.com/netreport X-Trace: newsfe2-gui.ntli.net 1111344928 81.100.88.147 (Sun, 20 Mar 2005 18:55:28 GMT) NNTP-Posting-Date: Sun, 20 Mar 2005 18:55:28 GMT Organization: ntl Cablemodem News Service Xref: g2news1.google.com comp.lang.ada:9650 Date: 2005-03-20T18:55:28+00:00 List-Id: On Sun, 20 Mar 2005 19:11:48 +0100, Ludovic Brenta wrote: > "Dr. Adrian Wrigley" writes: >> In case it's not clear, I'm hoping to use the normal GNAT compilation >> system to build an Ada program (Ada "main") which calls some >> code written in Java. Preferably I'd end up with a single executable >> without bringing in loads of additional libraries and runtime files. > > Look at Cafe1815: http://www.acenet.com.au/~gbull/ > > I used in in the past to call an Ada shared library from a Java > program. The reverse is also possible. Does this help? Conceptually, this looks very interesting. But it says it only works with JDK 1.2, and is over five years old. My best bet for for this project now seems to be to port the MS Visual C++ code to g++ and call that using a normal Ada binding. -- Adrian