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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b76e4c7729cf0e53,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada code to Java Date: Sun, 20 Mar 2005 19:31:58 -0800 Organization: Newport Instruments Message-ID: Reply-To: rleif@rleif.com NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1111390513 81812 212.85.156.195 (21 Mar 2005 07:35:13 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 21 Mar 2005 07:35:13 +0000 (UTC) To: "Comp. Lang. Ada" Return-Path: X-Authenticated-User: rleif.rleif.com X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcUtw5KYw5gZ9hQCQKeosRKKdRmLKA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:9660 Date: 2005-03-20T19:31:58-08:00 Why not switch to the Microsoft version of Java (J#) and use A#? Bob Leif Message: 8 Date: Sun, 20 Mar 2005 18:55:28 GMT From: "Dr. Adrian Wrigley" Subject: Re: Interfacing Ada code to Java - resources and hints To: comp.lang.ada@ada-france.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 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