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,ef8bca9082d661b9,start X-Google-Attributes: gid103376,public From: John Dalbey Subject: can't run my jarmake output Date: 2000/04/05 Message-ID: <38EBF447.6C287831@calpoly.edu>#1/1 X-Deja-AN: 607356186 Content-Transfer-Encoding: 7bit Organization: Cal Poly, San Luis Obispo X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-05T00:00:00+00:00 List-Id: JGNAT looks really neat so far ... $ jgnatmake blastoff jgnat -c blastoff.adb jgnatbind -x blastoff.ali jgnatlink blastoff.ali $ java blastoff Countdown to JGNAT ... 10 9 8 7 6 5 4 3 2 1 0 BLASTOFF! So my Ada code runs on the JVM ... Cool! but I can't figure out how to run the .jar files produced by the jarmake tool. $ jarmake -oblastoff.jar blastoff.class $ java -jar blastoff.jar Failed to load Main-Class manifest attribute from blastoff.jar Isn't all that's necessary is to provide the -jar switch on the command line? It is NOT an applet, so I don't use appletviewer. Am I missing some basic concept here? I couldn't find any reference to the word "manifest" in the user guide. I'm stumped. Thanks, --jd