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,4a36b7df69d1af90 X-Google-Attributes: gid103376,public From: Geoff Bull Subject: Re: Announcing JGNAT public version 1.0p Date: 2000/04/07 Message-ID: <38ED7473.82C215F@acenet.com.au>#1/1 X-Deja-AN: 607868484 Content-Transfer-Encoding: 7bit References: <8bqd8g$sbs$1@nnrp1.deja.com> <8c2613$hce$1@nnrp1.deja.com> <8c7fh4$25g$1@nnrp1.deja.com> <8c92nl$nqn$1@nnrp1.deja.com> <8cak93$dtl$1@nnrp1.deja.com> <38EA152B.6D7A4481@earthlink.net> <1MNG4.630$n8.195854@news-east.usenetserver.com> <38ECB0CC.3B2941E2@earthlink.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 955086086 203.35.118.1 (Fri, 07 Apr 2000 15:41:26 EST) Organization: Customer of Telstra Big Pond Direct MIME-Version: 1.0 NNTP-Posting-Date: Fri, 07 Apr 2000 15:41:26 EST Newsgroups: comp.lang.ada Date: 2000-04-07T00:00:00+00:00 List-Id: Charles Hixson wrote: > > I want this to be cross-platform, so a Windows specific answer wouldn't work, > and I don't want to need to be present and install software (i.e., I want a > truly naive user to be able to just copy it over), so any complex set-up is > out. > > However, another user wrote me to say that ada2jvm, a part of the JGNAT package > would do just what I was asking (or was that jvm2ada? need to check it again.). > This will let me do the screen designs in Java, where there are tools around > and portable libraries that will (almost always) already be installed, and the > drive them with an Ada main program that calls the screens to get information. > > (I believe that JNI would require that the Java program be the main routine, > though I haven't checked that out in detail.) > You obviously didn't check out my previous reply: Geoff Bull wrote: > You can use the jni binding at http://www.acenet.com.au/~gbull All the examples provided there have the main routine written in Java. If it were not possible to to this, it would be *very* difficult to write a java launcher :-) I am confused as to whether you want to compile your Ada with gnat or jgnat. Cheers Geoff Cheers Geoff