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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107e1d,8fb91e7678170c63,start X-Google-Attributes: gid107e1d,public X-Google-Thread: 103376,8fb91e7678170c63,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-04 04:34:06 PST From: "Frenk" Newsgroups: comp.lang.ada,fr.comp.lang.ada Subject: ada->java bytecode compilation errors Date: Tue, 4 Jun 2002 13:34:01 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 80.238.46.45 Message-ID: <3cfca5ac$1@news.swissonline.ch> X-Trace: news.swissonline.ch 1023190444 80.238.46.45 (4 Jun 2002 13:34:04 +0200) X-Complaints-To: abuse@swissonline.ch Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!news.mailgate.org!news-zh.switch.ch!news.swissonline.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:25297 fr.comp.lang.ada:1633 Date: 2002-06-04T13:34:01+02:00 List-Id: Hi everybody! I need to compile an ada program to java bytecode, but i have some problems: - i installed in a windows (xp) system jgnatmake (version 1.1) - i set the PATH and CLASSPATH environment variables. Now when i compile as program everything works fine, it generates a .class program that run correctly with the jvm. But i need it to be an applet. so i compile as an applet, i build and here i get the errors. The errors i get (in AdaGIDE): --------------------- compiling.... completed successfully --------------------- building... jgnatmake -gnatwu -v -gnato -................. jgnatbind -a0./ -a0D:\....................... jgnatlink hello.ali jgnatbind -n -ID:\............ jgnatlink hello.ali Unable to create jar file--hello$typ.class is missing. Perhapse this is not an applet? Done--error detected. ------------------- So i tried by command line, here the results: (i found the commands in the documentation) ------------------- jgnatmake hello jgnatbind -x hello.ali jgnatlink hello.ali jgnatbind -n hello.ali jgnatlink hello.ali jarmake -o hello.jar hello$typ.class jarmake: Cannot find: hello$typ.class ------------------ Maybe the error i do is something obvious, but i'm not so advanced in ada nor java programming.... If someone can help me, Thanks!!!! Regards! Frenk Francesco Devittori francesco.devittori[AT]epfl.ch www.frenk.com