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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,988fdd9225873cbb,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: ed.tkacz@juno.com (takizzle) Newsgroups: comp.lang.ada Subject: using java from within ada - AONIX Date: 29 Aug 2004 07:48:53 -0700 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 208.20.220.69 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1093790934 30656 127.0.0.1 (29 Aug 2004 14:48:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 29 Aug 2004 14:48:54 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3139 Date: 2004-08-29T07:48:53-07:00 List-Id: Hey, I am having troubles with the AoNIX ObjectAda 95 compiler and trying to use java within Ada. What I have done has rewritten some functionality in java and I want to use it within the existing ada code. Here is what I have done: 1) I wrote my java class 2) compiled it under java 1.1.8 - apparently the latest version Aonix understands. 3) ran the java2ada tool to create my binding 4) compiled the ada binding under the JavaVM-V7.2.1 compiler.. >From here I don't know what to do. I am not even sure what I am doing is possible.. I tried withing the ada binding I created and compiled and it is throwing an error saying it couldn't compile due to errors.. My guess is that I have to build everything under the JavaVM_V7.2.1 environment as opposed to the Native version for this to work.. Is there no way to just pragma import java functionality into ada through the native environment? Ed